Skip to content

Commit cc89641

Browse files
committed
Check Symlink exists
1 parent ae290ce commit cc89641

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

func/upgrade.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ upgrade_phppgadmin() {
604604
if ! version_ge "$pga_release" "7.14.0"; then
605605
cp -f $HESTIA_INSTALL_DIR/pga/config.inc.php /etc/phppgadmin/
606606
fi
607-
if [ ! -f /usr/share/phppgadmin/conf/config.inc.php ]; then
607+
if [ ! -L /usr/share/phppgadmin/conf/config.inc.php ]; then
608608
ln -s /etc/phppgadmin/config.inc.php /usr/share/phppgadmin/conf
609609
fi
610610

0 commit comments

Comments
 (0)