mirror of
https://github.com/YunoHost-Apps/strut_ynh.git
synced 2024-09-03 20:26:33 +02:00
commit
bde0127e1d
2 changed files with 8 additions and 3 deletions
|
@ -13,6 +13,7 @@
|
||||||
setup_private=1
|
setup_private=1
|
||||||
setup_public=1
|
setup_public=1
|
||||||
upgrade=1
|
upgrade=1
|
||||||
|
upgrade=1 from_commit=03c3ea18cf117127749a860afe538bc6070a8e0b
|
||||||
backup_restore=1
|
backup_restore=1
|
||||||
multi_instance=1
|
multi_instance=1
|
||||||
incorrect_path=1
|
incorrect_path=1
|
||||||
|
@ -28,9 +29,13 @@
|
||||||
Level 5=auto
|
Level 5=auto
|
||||||
Level 6=auto
|
Level 6=auto
|
||||||
Level 7=auto
|
Level 7=auto
|
||||||
Level 8=1
|
# Level 8=1
|
||||||
Level 9=1
|
# Level 9=1
|
||||||
Level 10=0
|
Level 10=0
|
||||||
;;; Options
|
;;; Options
|
||||||
Email=ljf+ynh-strut@grimaud.me
|
Email=ljf+ynh-strut@grimaud.me
|
||||||
Notification=down
|
Notification=down
|
||||||
|
;;; Upgrade options
|
||||||
|
; commit=03c3ea18cf117127749a860afe538bc6070a8e0b
|
||||||
|
name=Update package to level 7
|
||||||
|
manifest_arg=domain=DOMAIN&path=PATH&is_public=Yes&
|
||||||
|
|
|
@ -44,7 +44,7 @@ ynh_app_setting_set $app final_path $final_path
|
||||||
# For this app sources are in app subdirectory
|
# For this app sources are in app subdirectory
|
||||||
tmp_dir=$(mktemp -d)
|
tmp_dir=$(mktemp -d)
|
||||||
ynh_clean_setup () {
|
ynh_clean_setup () {
|
||||||
rm -Rf "$tmp_dir"
|
ynh_secure_remove "$tmp_dir"
|
||||||
}
|
}
|
||||||
ynh_setup_source "$tmp_dir"
|
ynh_setup_source "$tmp_dir"
|
||||||
mv "$tmp_dir/sources" "$final_path"
|
mv "$tmp_dir/sources" "$final_path"
|
||||||
|
|
Loading…
Add table
Reference in a new issue