mirror of
https://github.com/YunoHost-Apps/restic_ynh.git
synced 2024-09-03 20:16:22 +02:00
cleanup more in upgrade
This commit is contained in:
parent
0687aa0d04
commit
62f213a844
1 changed files with 4 additions and 0 deletions
|
@ -27,6 +27,10 @@ if [ -f "/usr/local/bin/backup-with-${app}" ]; then
|
|||
ynh_secure_remove --file="/usr/local/bin/backup-with-${app}"
|
||||
fi
|
||||
|
||||
if [ -f "/usr/local/bin/$app" ]; then
|
||||
ynh_secure_remove --file="/usr/local/bin/$app"
|
||||
fi
|
||||
|
||||
if [ -d "/opt/yunohost/$app" ]; then
|
||||
mv "/opt/yunohost/$app/"* "$install_dir"
|
||||
ynh_delete_file_checksum --file="/opt/yunohost/$app/check-restic"
|
||||
|
|
Loading…
Reference in a new issue