We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a37d1b commit 9d61c29Copy full SHA for 9d61c29
2 files changed
src/deb/hestia/postinst
@@ -36,6 +36,11 @@ upgrade_init_backup
36
# Initialize logging
37
upgrade_init_logging
38
39
+# Check if preinstall hook exists
40
+if [ -e "/etc/hestiacp/hooks/pre_install.sh" ]; then
41
+/etc/hestiacp/hooks/pre_install.sh
42
+fi
43
+
44
# Set up console display and welcome message
45
upgrade_welcome_message_log >> $LOG
46
upgrade_welcome_message
src/deb/hestia/preinst
@@ -19,7 +19,3 @@ HESTIA_V=$(dpkg -s hestia | grep -i version | awk '{ print $2 }')
19
if [ ! "$HESTIA_V" = "$VERSION" ]; then
20
sed -i "s/VERSION=.*/VERSION='$HESTIA_V'/g" /usr/local/hestia/conf/hestia.conf
21
fi
22
-
23
-if [ -e "/etc/hestiacp/hooks/pre_install.sh" ]; then
24
- /etc/hestiacp/hooks/pre_install.sh
25
-fi
0 commit comments