Skip to content

Commit c8bdc0f

Browse files
committed
Update script
1 parent 756a3c5 commit c8bdc0f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/deb/hestia/postinst

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

7+
###############################################################
8+
# Initialize functions/variables #
9+
###############################################################
10+
711
if [ -z "$HESTIA" ]; then
812
export HESTIA='/usr/local/hestia'
913
PATH=$PATH:/usr/local/hestia/bin
1014
export PATH
1115
fi
1216

13-
###############################################################
14-
# Initialize functions/variables #
15-
###############################################################
16-
1717
# Load upgrade functions and variables
18-
source /usr/local/hestia/func/main.sh
19-
source /usr/local/hestia/func/upgrade.sh
20-
source /usr/local/hestia/conf/hestia.conf
21-
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
2222

2323
###############################################################
2424
# Set new version numbers for packages #

0 commit comments

Comments
 (0)