diff --git a/scripts/remove b/scripts/remove index 52cd8b9..45dead7 100644 --- a/scripts/remove +++ b/scripts/remove @@ -155,7 +155,7 @@ fi #================================================= # Remove the log files -ynh_secure_remove --file="/var/log/$app/" +ynh_secure_remove --file="/var/log/$app" #================================================= # GENERIC FINALIZATION diff --git a/scripts/upgrade b/scripts/upgrade index a41d072..c66334e 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -157,7 +157,7 @@ then unzip $final_path/jitsi-jicofo-build/target/jicofo-linux-x64-1.1-SNAPSHOT.zip -d $final_path - ynh_secure_remove --file="$final_path/jitsi-jicofo/" + ynh_secure_remove --file="$final_path/jitsi-jicofo" mv $final_path/jicofo-linux-x64-1.1-SNAPSHOT/ $final_path/jitsi-jicofo/ @@ -177,7 +177,7 @@ then tar xf data.tar.xz popd - ynh_secure_remove --file="$final_path/jitsi-meet/" + ynh_secure_remove --file="$final_path/jitsi-meet" mv "$final_path/jitsi-meet_temp/usr/share/jitsi-meet/" "$final_path/jitsi-meet/" ynh_secure_remove --file="$final_path/jitsi-meet_temp"