Skip to content

Commit 756a3c5

Browse files
committed
Load Hestia path on update
1 parent 5746055 commit 756a3c5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/deb/hestia/postinst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ if [ ! -e "/usr/local/hestia/data/users/admin" ]; then
44
exit
55
fi
66

7+
if [ -z "$HESTIA" ]; then
8+
export HESTIA='/usr/local/hestia'
9+
PATH=$PATH:/usr/local/hestia/bin
10+
export PATH
11+
fi
12+
713
###############################################################
814
# Initialize functions/variables #
915
###############################################################

0 commit comments

Comments
 (0)