diff options
-rw-r--r-- | satellit_upgrader/updater.template.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/satellit_upgrader/updater.template.sh b/satellit_upgrader/updater.template.sh index 7a832ca..9de22c7 100644 --- a/satellit_upgrader/updater.template.sh +++ b/satellit_upgrader/updater.template.sh @@ -276,7 +276,7 @@ aptinst php-soap # MySQL... for ver in $( dpkg-query -W -f='${Package}\n' "mysql-server-*" "mariadb-server-*" ); do - [ "$ver" = "mariadb-server-$mysql" ] && continue + [[ "$ver" == *"-$mysql" ]] && continue dpkg -l "$ver" 2> /dev/null | grep -q '^ii' && apt remove -y "$ver" done aptinst default-mysql-server |