You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Fix upgrade logic bug
* Improve version check
jq -r .version /usr/share/phpmyadmin/package.json will not break if system accidentally upgrades to an older version (pre 1.3 installs)
echo"[ * ] phpMyAdmin is up to date (${pma_release_file##*-})..."
584
584
# Update permissions
585
585
if [ -e /var/lib/phpmyadmin/blowfish_secret.inc.php ];then
@@ -634,7 +634,7 @@ upgrade_filemanager() {
634
634
else
635
635
fm_version="1.0.0"
636
636
fi
637
-
if version_ge "$fm_version""$fm_v";then
637
+
if!version_ge "$fm_version""$fm_v";then
638
638
echo"[ ! ] Upgrading File Manager to version $fm_v..."
639
639
# Reinstall the File Manager
640
640
$BIN/v-delete-sys-filemanager quiet yes
@@ -662,7 +662,7 @@ upgrade_roundcube() {
662
662
echo" To upgrade to the latest version of Roundcube directly from upstream, from please run the command migrate_roundcube.sh located in: /usr/local/hestia/install/upgrade/manual/"
663
663
else
664
664
rc_version=$(cat /var/lib/roundcube/index.php | grep -o -E '[0-9].[0-9].[0-9]+'| head -1)
665
-
if version_ge "$rc_version""$rc_v";then
665
+
if!version_ge "$rc_version""$rc_v";then
666
666
echo"[ ! ] Upgrading Roundcube to version $rc_v..."
667
667
$BIN/v-add-sys-roundcube
668
668
else
@@ -675,7 +675,7 @@ upgrade_roundcube() {
675
675
upgrade_rainloop() {
676
676
if [ -n"$(echo "$WEBMAIL_SYSTEM"| grep -w 'rainloop')" ];then
677
677
rl_version=$(cat /var/lib/rainloop/data/VERSION)
678
-
if version_ge "$rl_version""$rl_v";then
678
+
if!version_ge "$rl_version""$rl_v";then
679
679
echo"[ ! ] Upgrading Rainloop to version $rl_v..."
0 commit comments