1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cac-proxy_ynh.git synced 2024-09-03 18:16:07 +02:00

no rm -rf

This commit is contained in:
Gérard Collin 2023-02-26 17:03:19 +01:00
parent adaea1401d
commit 976826598c

View file

@ -104,7 +104,7 @@ complete_install=false
# Check if we need to clean up old bad installs
if [ -f "$final_path/package.json" ]; then
complete_install=true
rm -rf "$final_path/*"
ynh_secure_remove --file="$final_path/*"
fi
#=================================================