mirror of
https://github.com/YunoHost-Apps/transmission_ynh.git
synced 2024-09-04 01:46:12 +02:00
Update upgrade: rm
on a non-existing file miserably crash the upgrade
This commit is contained in:
parent
064214c930
commit
727aabfe0d
1 changed files with 2 additions and 2 deletions
|
@ -68,8 +68,8 @@ ynh_script_progression --message="Adding multimedia directories..." --weight=3
|
|||
|
||||
# Remove possibly dangling symlinks created before the /home/yunohost.transmission -> /home/yunohost.app/transmission transition
|
||||
# Use rm because ynh_secure_remove fails on dangling symlinks, see https://github.com/YunoHost/issues/issues/2253...
|
||||
rm "$MEDIA_DIRECTORY/share/Torrents"
|
||||
rm "$MEDIA_DIRECTORY/share/Torrent to download"
|
||||
rm "$MEDIA_DIRECTORY/share/Torrents" || true
|
||||
rm "$MEDIA_DIRECTORY/share/Torrent to download" || true
|
||||
|
||||
ynh_multimedia_build_main_dir
|
||||
|
||||
|
|
Loading…
Reference in a new issue