We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a67b18 commit 847650dCopy full SHA for 847650d
src/deb/hestia/postinst
@@ -92,4 +92,9 @@ upgrade_send_notification_to_panel
92
upgrade_send_notification_to_email
93
upgrade_send_log_to_email
94
95
+if [ -e "/etc/hestiacp/hooks/post_install.sh" ]; then
96
+ echo "[ * ] Execute post install hook"
97
+ /etc/hestiacp/hooks/post_install.sh
98
+fi
99
+
100
exit 0
src/deb/hestia/preinst
@@ -18,4 +18,9 @@ HESTIA_V=$(dpkg -s hestia | grep -i version | awk '{ print $2 }')
18
19
if [ ! "$HESTIA_V" = "$VERSION" ]; then
20
sed -i "s/VERSION=.*/VERSION='$HESTIA_V'/g" /usr/local/hestia/conf/hestia.conf
21
22
23
+if [ -e "/etc/hestiacp/hooks/pre_install.sh" ]; then
24
+ echo "[ * ] Execute pre install hook"
25
+ /etc/hestiacp/hooks/pre_install.sh
26
fi
0 commit comments