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 #5 from YunoHost-Apps/naughty-rm

A naughty rm
This commit is contained in:
ljf (zamentur) 2017-11-07 01:15:07 +01:00 committed by GitHub
commit 0e7b1f3bfd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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"