File tree Expand file tree Collapse file tree 4 files changed +21
-6
lines changed
Expand file tree Collapse file tree 4 files changed +21
-6
lines changed Original file line number Diff line number Diff line change 11Source: hestia-nginx
22Package: hestia-nginx
33Priority: optional
4- Version: 1.27.3
4+ Version: 1.27.4
55Section: admin
66Maintainer: HestiaCP <info@hestiacp.com>
77Homepage: https://www.hestiacp.com
Original file line number Diff line number Diff line change @@ -6,19 +6,29 @@ if [ "$1" != "configure" ]; then
66 exit 0
77fi
88
9+ # Run triggers only on updates
10+ if [ ! -e " /usr/local/hestia/data/users/" ]; then
11+ exit
12+ fi
13+
14+ # Prevent running and causes issues with outdated hestia version
15+ if ! id " hestiaweb" & > /dev/null; then
16+ exit
17+ fi
18+
919# Touch and set permisions on default log files on installation
1020update-rc.d hestia defaults > /dev/null
1121invoke-rc.d hestia start || true
1222
1323# Adapt Port Listing in HESTIA NGINX Backend
1424source /usr/local/hestia/func/syshealth.sh # Load syshealth functions
15- syshealth_adapt_hestia_nginx_listen_ports # Adapt port listing
16- syshealth_adapt_nginx_resolver
1725
18- # Run triggers only on updates
19- if [ ! -e " /usr/local/hestia/data/users/ " ] ; then
26+ # Check if the function syshealth_adapt_hestia_nginx_listen_ports exists
27+ if ! declare -f syshealth_adapt_hestia_nginx_listen_ports > /dev/null ; then
2028 exit
2129fi
30+ syshealth_adapt_hestia_nginx_listen_ports # Adapt port listing
31+ syshealth_adapt_nginx_resolver
2232
2333# ##############################################################
2434# Initialize functions/variables #
Original file line number Diff line number Diff line change 11Source: hestia-php
22Package: hestia-php
33Priority: optional
4- Version: 8.3.16
4+ Version: 8.3.17
55Section: admin
66Maintainer: HestaCP <info@hestiacp.com>
77Homepage: https://www.hestiacp.com
Original file line number Diff line number Diff line change @@ -11,6 +11,11 @@ if [ ! -e "/usr/local/hestia/data/users/" ]; then
1111 exit
1212fi
1313
14+ # Prevent running and causes issues with outdated hestia version
15+ if ! id " hestiaweb" & > /dev/null; then
16+ exit
17+ fi
18+
1419# Check if preinstall hook exists
1520if [ -e " /etc/hestiacp/hooks/php/pre_install.sh" ]; then
1621 /etc/hestiacp/hooks/php/pre_install.sh
You can’t perform that action at this time.
0 commit comments