mirror of
https://github.com/YunoHost-Apps/friendica_ynh.git
synced 2024-09-03 18:36:14 +02:00
use ynh_secure_remove instead of rm
This commit is contained in:
parent
d579e034a1
commit
c44d265434
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ ynh_script_progression --message="Restoring the app main directory..." --weight=
|
|||
|
||||
ynh_restore_file --origin_path="$install_dir"
|
||||
|
||||
if [ -f "$install_dir/daemon.pid" ]; then rm "$install_dir/daemon.pid"; fi
|
||||
if [ -f "$install_dir/daemon.pid" ]; then ynh_secure_remove --file="$install_dir/daemon.pid"; fi
|
||||
|
||||
chmod -R o-rwx "$install_dir"
|
||||
chown -R "$app:www-data" "$install_dir"
|
||||
|
|
Loading…
Add table
Reference in a new issue