test without mariadb 10.1

This commit is contained in:
liberodark 2019-01-02 12:47:39 +01:00
parent 27718fae83
commit 25e24a629f

View file

@ -86,16 +86,16 @@ ynh_app_setting_set $app port $port
#==============================================
#ynh_package_install software-properties-common
apt install -y software-properties-common dirmngr
#apt install -y software-properties-common dirmngr
## get MariaDB gpg keys
apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8
#apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8
## install the MariaDB repo
add-apt-repository 'deb [arch=amd64,i386,ppc64el] http://mirror.jaleco.com/mariadb/repo/10.1/debian stretch main'
#add-apt-repository 'deb [arch=amd64,i386,ppc64el] http://mirror.jaleco.com/mariadb/repo/10.1/debian stretch main'
## Get apt updates
apt update
#apt update
## Install MariaDB 10.1
apt install -y mariadb-common mariadb-server mariadb-client
@ -154,7 +154,7 @@ ynh_mysql_execute_as_root <<< "GRANT ALL PRIVILEGES ON $db_name.* TO '$app'@'127
FLUSH PRIVILEGES;"
#==============================================
# INSTALL PufferPanel
# INSTALL Pterodactyl
#==============================================
sudo -u "$app" "curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer"