1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/rainloop_ynh.git synced 2024-09-03 20:16:18 +02:00
This commit is contained in:
polytan02 2015-04-13 14:12:34 +01:00
parent 82b0a4fdff
commit 33698e2647

View file

@ -10,6 +10,9 @@ is_public=$3
# Removal of trailing /
path=${path%/}
sudo yunohost app setting rainloop domain -v $domain
# Check domain/path availability
sudo yunohost app checkurl $domain$path -a rainloop
if [[ ! $? -eq 0 ]]; then
@ -26,7 +29,6 @@ db_user=$app
# Initialize database and store mysql password for upgrade
sudo yunohost app initdb $db_user -p $db_pwd
sudo yunohost app setting rainloop mysqlpwd -v $db_pwd
sudo yunohost app setting rainloop domain -v $domain
#mysql -u $db_user -p$db_pwd $db_user < ../sources/plugins/automatic_addressbook/SQL/mysql.initial.sql