1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/limesurvey_ynh.git synced 2024-09-03 19:36:32 +02:00

[fix] Linter, multi-instance on remove, restore check

This commit is contained in:
ljf 2017-02-07 03:09:09 +01:00
parent dfb9c66598
commit 65de51efd5
3 changed files with 4 additions and 3 deletions

View file

@ -20,7 +20,8 @@ ynh_rm_php_fpm_conf
# We can't delete it before because php5-fpm use it
ynh_system_user_delete "$user"
ynh_package_remove $app-ynh-deps
dep_app=${app/__/-}
ynh_package_remove $dep_app-ynh-deps
sudo yunohost app ssowatconf
echo -e "\e[0m" # Restore norml color

View file

@ -147,7 +147,7 @@ dbuser=$user
# CHECK IF THE APP CAN BE RESTORED
#=================================================
ynh_path_validity "$domain$path"
#ynh_path_validity "$domain$path"
ynh_check_restore
#=================================================

View file

@ -38,7 +38,7 @@ if [ "${version}" = "2.0.5" ]; then
sudo mv $upload_path $local_path/
fi
sudo yunohost app setting $app skipped_uris -d
ynh_app_setting_delete $app skipped_uris
ynh_sso_access "/index.php?r=admin,/index.php?r=plugins,/scripts"
ynh_configure_php_fpm