diff --git a/scripts/change_url b/scripts/change_url index d88a31b..f76a1eb 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -106,4 +106,4 @@ ynh_systemd_action --service_name=nginx --action=reload # END OF SCRIPT #================================================= -ynh_script_progression --message="Change of URL completed for Lychee" --last +ynh_script_progression --message="Change of URL completed for $app" --last diff --git a/scripts/upgrade b/scripts/upgrade index 3fca88d..faea48f 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -66,6 +66,8 @@ fi if [ -z "$public_path" ]; then public_path=/home/yunohost.app/$app mkdir -p $public_path + chmod 755 $public_path + chown -R $app:www-data $public_path ynh_app_setting_set --app=$app --key=public_path --value=$public_path cp -a "$final_path/public/uploads" "$public_path/uploads" fi @@ -153,13 +155,6 @@ ynh_exec_warn_less ynh_composer_exec --commands=\"dump-autoload\" ( cd $final_path && php$phpversion artisan config:clear -n ) ( cd $final_path && php$phpversion artisan config:cache -n ) -#================================================= -# SECURE FILES AND DIRECTORIES -#================================================= - -chmod 755 $public_path -chown -R $app:www-data $public_path - #================================================= # RELOAD NGINX #=================================================