mirror of
https://github.com/nextcloud/vm.git
synced 2025-10-26 11:27:32 +00:00
change if statement (#937)
Signed-off-by: enoch85 <github@hanssonit.se>
This commit is contained in:
parent
55b72dcf43
commit
cefe42d94f
@ -40,9 +40,10 @@ fi
|
||||
if is_this_installed mysql-common
|
||||
then
|
||||
apt-mark hold mysql*
|
||||
elif is_this_installed mariadb-common
|
||||
then
|
||||
apt-mark hold mariadb*
|
||||
if is_this_installed mariadb-common
|
||||
then
|
||||
apt-mark hold mariadb*
|
||||
fi
|
||||
fi
|
||||
|
||||
# Move all logs to new dir (2019-09-04)
|
||||
@ -72,13 +73,14 @@ export DEBIAN_FRONTEND=noninteractive ; apt dist-upgrade -y -o Dpkg::Options::="
|
||||
if is_this_installed mysql-common
|
||||
then
|
||||
apt-mark unhold mysql*
|
||||
print_text_in_color "$ICyan" "If you want to upgrade MariaDB, please run 'sudo apt update && sudo apt dist-upgrade -y'"
|
||||
sleep 2
|
||||
elif is_this_installed mariadb-common
|
||||
then
|
||||
apt-mark unhold mariadb*
|
||||
print_text_in_color "$ICyan" "If you want to upgrade MariaDB, please run 'sudo apt update && sudo apt dist-upgrade -y'"
|
||||
print_text_in_color "$ICyan" "If you want to upgrade MySQL/MariaDB, please run 'sudo apt update && sudo apt dist-upgrade -y'"
|
||||
sleep 2
|
||||
if is_this_installed mariadb-common
|
||||
then
|
||||
apt-mark unhold mariadb*
|
||||
print_text_in_color "$ICyan" "If you want to upgrade MariaDB, please run 'sudo apt update && sudo apt dist-upgrade -y'"
|
||||
sleep 2
|
||||
fi
|
||||
fi
|
||||
|
||||
# Update Netdata
|
||||
|
||||
Loading…
Reference in New Issue
Block a user