1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/strut_ynh.git synced 2024-09-03 20:26:33 +02:00

Merge pull request #8 from YunoHost-Apps/testing

Testing
This commit is contained in:
ljf (zamentur) 2018-05-27 03:37:47 +02:00 committed by GitHub
commit bde0127e1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 3 deletions

View file

@ -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&

View file

@ -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"