Skip to content

Commit 64e3c42

Browse files
authored
Fix check if installed via apt
Change /usr/share/phpmyadmin/ to /usr/share/roundcube
1 parent 5d28347 commit 64e3c42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install/upgrade/manual/migrate_roundcube.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ source $HESTIA/conf/hestia.conf
1717
# Verifications #
1818
#----------------------------------------------------------#
1919

20-
if [ ! -d "/usr/share/phpmyadmin/" ]; then
20+
if [ ! -d "/usr/share/roundcube/" ]; then
2121
echo "Install Roundcube not done via APT"
2222
exit 2;
2323
fi
@@ -46,4 +46,4 @@ then
4646
# restore backup
4747
mysql roundcube < ~/roundcube.sql
4848
/var/lib/roundcube/bin/update.sh --version "$version"
49-
fi
49+
fi

0 commit comments

Comments
 (0)