Skip to content

Commit ea9bfee

Browse files
authored
Delete phppgadmin file after download (hestiacp#3319)
1 parent 603464e commit ea9bfee

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

func/upgrade.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -569,6 +569,8 @@ upgrade_phppgadmin() {
569569
if [ ! -f /usr/share/phppgadmin/conf/config.inc.php ]; then
570570
ln -s /etc/phppgadmin/config.inc.php /usr/share/phppgadmin/conf
571571
fi
572+
573+
rm -f phppgadmin-v$pga_v.tar.gz
572574
fi
573575
fi
574576
}

install/hst-install-debian.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1641,6 +1641,7 @@ if [ "$postgresql" = 'yes' ]; then
16411641
cp -f $HESTIA_INSTALL_DIR/pga/phppgadmin.conf /etc/apache2/conf.d/phppgadmin.inc
16421642
fi
16431643

1644+
rm phppgadmin-v$pga_v.tar.gz
16441645
write_config_value "DB_PGA_ALIAS" "phppgadmin"
16451646
$HESTIA/bin/v-change-sys-db-alias 'pga' "phppgadmin"
16461647
fi

install/hst-install-ubuntu.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1683,6 +1683,7 @@ if [ "$postgresql" = 'yes' ]; then
16831683
cp -f $HESTIA_INSTALL_DIR/pga/phppgadmin.conf /etc/apache2/conf.d/phppgadmin.inc
16841684
fi
16851685

1686+
rm phppgadmin-v$pga_v.tar.gz
16861687
write_config_value "DB_PGA_ALIAS" "phppgadmin"
16871688
$HESTIA/bin/v-change-sys-db-alias 'pga' "phppgadmin"
16881689
fi

0 commit comments

Comments
 (0)