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

A naughty rm

This commit is contained in:
Maniack Crudelis 2017-09-15 22:48:53 +02:00 committed by GitHub
parent 03c3ea18cf
commit 7276848352

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"