@@ -1,7 +1,7 @@
Source: hestia-php
Package: hestia-php
Priority: optional
-Version: 7.4.11
+Version: 7.4.11~1
Section: admin
Maintainer: HestaCP <info@hestiacp.com>
Homepage: https://www.hestiacp.com
@@ -6,6 +6,11 @@ if [ "$1" != "configure" ]; then
exit 0
fi
+# Run triggers below only on updates
+if [ ! -e "/usr/local/hestia/data/users/admin" ]; then
+ exit
+fi
+
# Restart hestia service
if [ -f "/etc/init.d/hestia" ]; then
systemctl restart hestia > /dev/null 2>&1