diff --git a/check_process b/check_process index 2bf8ee3..c041fa3 100644 --- a/check_process +++ b/check_process @@ -13,6 +13,7 @@ setup_private=1 setup_public=1 upgrade=1 + upgrade=1 from_commit=03c3ea18cf117127749a860afe538bc6070a8e0b backup_restore=1 multi_instance=1 incorrect_path=1 @@ -28,9 +29,13 @@ Level 5=auto Level 6=auto Level 7=auto - Level 8=1 - Level 9=1 +# Level 8=1 +# Level 9=1 Level 10=0 ;;; Options Email=ljf+ynh-strut@grimaud.me Notification=down +;;; Upgrade options + ; commit=03c3ea18cf117127749a860afe538bc6070a8e0b + name=Update package to level 7 + manifest_arg=domain=DOMAIN&path=PATH&is_public=Yes& diff --git a/scripts/install b/scripts/install index c58db57..3564ccd 100644 --- a/scripts/install +++ b/scripts/install @@ -44,7 +44,7 @@ ynh_app_setting_set $app final_path $final_path # For this app sources are in app subdirectory tmp_dir=$(mktemp -d) ynh_clean_setup () { - rm -Rf "$tmp_dir" + ynh_secure_remove "$tmp_dir" } ynh_setup_source "$tmp_dir" mv "$tmp_dir/sources" "$final_path"