1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/grav_ynh.git synced 2024-09-03 19:16:01 +02:00

Saut de ligne dernière ligne pour fixer erreur fin de ligne prématurée

This commit is contained in:
magikcypress 2017-03-10 23:02:23 +01:00
parent 4666ebb5ac
commit 06fe200ca3
2 changed files with 1 additions and 11 deletions

View file

@ -11,16 +11,6 @@ app=$YNH_APP_INSTANCE_NAME
# Retrieve app settings
domain=$(ynh_app_setting_get "$app" domain)
with_mysql=$(ynh_app_setting_get "$app" with_mysql)
# Drop MySQL database and user as needed
if [[ $with_mysql -eq 1 ]]; then
dbname=$app
dbuser=$app
dbpass=$(ynh_app_setting_get "$app" mysqlpwd)
ynh_mysql_drop_db $dbname || true
ynh_mysql_drop_user $dbuser || true
fi
# Delete app directory and configurations
sudo rm -rf "/var/www/${app}"

View file

@ -55,4 +55,4 @@ sudo cp -a ./php-fpm.ini "$phpfpm_ini"
# Reload services
sudo service php5-fpm reload
sudo service nginx reload
sudo service nginx reload