Skip to content

Commit a214159

Browse files
committed
Removed unessery backup function in multi-php section
Backup of php folder is allready done on line 669 in debian installer (655 for Ubuntu)
1 parent f5077e9 commit a214159

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

install/hst-install-debian.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1245,7 +1245,6 @@ fi
12451245

12461246
if [ "$multiphp" = 'yes' ] ; then
12471247
for v in "${multiphp_v[@]}"; do
1248-
cp -r /etc/php/$v/ /root/hst_install_backups/php$v/
12491248
rm -f /etc/php/$v/fpm/pool.d/*
12501249
echo "[ * ] Install PHP version $v..."
12511250
$HESTIA/bin/v-add-web-php "$v" > /dev/null 2>&1

install/hst-install-ubuntu.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1299,7 +1299,6 @@ fi
12991299

13001300
if [ "$multiphp" = 'yes' ] ; then
13011301
for v in "${multiphp_v[@]}"; do
1302-
cp -r /etc/php/$v/ /root/hst_install_backups/php$v/
13031302
rm -f /etc/php/$v/fpm/pool.d/*
13041303
echo "[ * ] Install PHP version $v..."
13051304
$HESTIA/bin/v-add-web-php "$v" > /dev/null 2>&1

0 commit comments

Comments
 (0)