Skip to content

Commit e7b18da

Browse files
authored
Resolve php-hestia installation issue due to missing validation check.
1 parent 878ae55 commit e7b18da

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/deb/php/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Source: hestia-php
22
Package: hestia-php
33
Priority: optional
4-
Version: 7.4.11
4+
Version: 7.4.11~1
55
Section: admin
66
Maintainer: HestaCP <info@hestiacp.com>
77
Homepage: https://www.hestiacp.com

src/deb/php/postinst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ if [ "$1" != "configure" ]; then
66
exit 0
77
fi
88

9+
# Run triggers below only on updates
10+
if [ ! -e "/usr/local/hestia/data/users/admin" ]; then
11+
exit
12+
fi
13+
914
# Restart hestia service
1015
if [ -f "/etc/init.d/hestia" ]; then
1116
systemctl restart hestia > /dev/null 2>&1

0 commit comments

Comments
 (0)