Skip to content

Commit c437425

Browse files
authored
don't allow MySQL/MariaDB
1 parent 3be33b3 commit c437425

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

nextcloud_update.sh

+3-7
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,10 @@ then
5353
apt-mark hold php*
5454
fi
5555

56-
# System Upgrade
57-
if is_this_installed mysql-common
56+
# Don't allow MySQL/MariaDB
57+
if if ! grep -q pgsql /var/www/nextcloud/config/config.php
5858
then
59-
msg_box "MySQL is not supported in this script anymore. Please contact us to get support for upgrading your server: https://shop.hanssonit.se/product/premium-support-per-30-minutes/"
60-
exit 0
61-
elif is_this_installed mariadb-common
62-
then
63-
msg_box "MariaDB is not supported in this script anymore. Please contact us to get support for upgrading your server: https://shop.hanssonit.se/product/premium-support-per-30-minutes/"
59+
msg_box "MySQL/MariaDB is not supported in this script anymore. Please contact us to get support for upgrading your server: https://shop.hanssonit.se/product/premium-support-per-30-minutes/"
6460
exit 0
6561
fi
6662

0 commit comments

Comments
 (0)