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:
parent
03c3ea18cf
commit
7276848352
1 changed files with 1 additions and 1 deletions
|
@ -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