File tree Expand file tree Collapse file tree 5 files changed +31
-23
lines changed
Expand file tree Collapse file tree 5 files changed +31
-23
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ HESTIA_INSTALL_DIR="$HESTIA/install/deb"
2323VERBOSE=' no'
2424
2525# Define software versions
26- HESTIA_INSTALL_VER=' 1.4.11 '
26+ HESTIA_INSTALL_VER=' 1.4.12~alpha '
2727pma_v=' 5.1.1'
2828rc_v=" 1.4.11"
2929multiphp_v=(" 5.6" " 7.0" " 7.1" " 7.2" " 7.3" " 7.4" " 8.0" )
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ HESTIA_INSTALL_DIR="$HESTIA/install/deb"
2323VERBOSE=' no'
2424
2525# Define software versions
26- HESTIA_INSTALL_VER=' 1.4.11 '
26+ HESTIA_INSTALL_VER=' 1.4.12~alpha '
2727pma_v=' 5.1.1'
2828rc_v=" 1.4.11"
2929multiphp_v=(" 5.6" " 7.0" " 7.1" " 7.2" " 7.3" " 7.4" " 8.0" )
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- # Hestia Control Panel upgrade script for target version 1.4.11
3+ # Hestia Control Panel upgrade script for target version 1.4.12
44
55# ######################################################################################
66# ###### Place additional commands below. #######
77# ######################################################################################
88
9- # Fix the potential issue of loading firewall rules
10- if [ " $FIREWALL_SYSTEM " = " iptables" ]; then
11- echo " [ * ] Fix the potential issue of loading firewall rules..."
12- # Just in case, delete the legacy version loading script again to prevent any residue
13- rm -f /usr/lib/networkd-dispatcher/routable.d/50-ifup-hooks /etc/network/if-pre-up.d/iptables
14- # The firewall rules are loading by Systemd, the old loading script is no longer needed
15- rm -f /usr/lib/networkd-dispatcher/routable.d/10-hestia-iptables /etc/network/if-pre-up.d/hestia-iptables
16- $BIN /v-update-firewall
17- fi
18-
19- if [ -f " /etc/exim4/exim4.conf.template" ]; then
20- test=$( grep ' require_files = ${local_part}:+${home}/.forward' /etc/exim4/exim4.conf.template)
21- if [ -z " $test " ]; then
22- echo " [ * ] Fix bug where email send to news@domain.com is handled by /var/spool/news"
23- insert=" \ require_files = \$ {local_part}:+\$ {home}/.forward\n\ domains = +local_domains"
24- line=$( expr $( sed -n ' /userforward/=' /etc/exim4/exim4.conf.template) + 1)
25- sed -i " ${line} i $insert " /etc/exim4/exim4.conf.template
26- fi
27- fi
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # Hestia Control Panel upgrade script for target version 1.4.11
4+
5+ # ######################################################################################
6+ # ###### Place additional commands below. #######
7+ # ######################################################################################
8+
9+ # Fix the potential issue of loading firewall rules
10+ if [ " $FIREWALL_SYSTEM " = " iptables" ]; then
11+ echo " [ * ] Fix the potential issue of loading firewall rules..."
12+ # Just in case, delete the legacy version loading script again to prevent any residue
13+ rm -f /usr/lib/networkd-dispatcher/routable.d/50-ifup-hooks /etc/network/if-pre-up.d/iptables
14+ # The firewall rules are loading by Systemd, the old loading script is no longer needed
15+ rm -f /usr/lib/networkd-dispatcher/routable.d/10-hestia-iptables /etc/network/if-pre-up.d/hestia-iptables
16+ $BIN /v-update-firewall
17+ fi
18+
19+ if [ -f " /etc/exim4/exim4.conf.template" ]; then
20+ test=$( grep ' require_files = ${local_part}:+${home}/.forward' /etc/exim4/exim4.conf.template)
21+ if [ -z " $test " ]; then
22+ echo " [ * ] Fix bug where email send to news@domain.com is handled by /var/spool/news"
23+ insert=" \ require_files = \$ {local_part}:+\$ {home}/.forward\n\ domains = +local_domains"
24+ line=$( expr $( sed -n ' /userforward/=' /etc/exim4/exim4.conf.template) + 1)
25+ sed -i " ${line} i $insert " /etc/exim4/exim4.conf.template
26+ fi
27+ fi
Original file line number Diff line number Diff line change 11Source: hestia
22Package: hestia
33Priority: optional
4- Version: 1.4.11
4+ Version: 1.4.12~alpha
55Section: admin
66Maintainer: HestiaCP <info@hestiacp.com>
77Homepage: https://www.hestiacp.com
You can’t perform that action at this time.
0 commit comments