We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5746055 + c8bdc0f commit 15850cbCopy full SHA for 15850cb
1 file changed
src/deb/hestia/postinst
@@ -8,11 +8,17 @@ fi
8
# Initialize functions/variables #
9
###############################################################
10
11
+if [ -z "$HESTIA" ]; then
12
+ export HESTIA='/usr/local/hestia'
13
+ PATH=$PATH:/usr/local/hestia/bin
14
+ export PATH
15
+fi
16
+
17
# Load upgrade functions and variables
-source /usr/local/hestia/func/main.sh
-source /usr/local/hestia/func/upgrade.sh
-source /usr/local/hestia/conf/hestia.conf
-source /usr/local/hestia/install/upgrade/upgrade.conf
18
+source $HESTIA/func/main.sh
19
+source $HESTIA/func/upgrade.sh
20
+source $HESTIA/conf/hestia.conf
21
+source $HESTIA/install/upgrade/upgrade.conf
22
23
24
# Set new version numbers for packages #
0 commit comments