1
0
Fork 0
mirror of https://github.com/YunoHost/package_check.git synced 2024-09-03 20:06:20 +02:00

Fix backup issue

This commit is contained in:
Maniack Crudelis 2017-05-29 00:00:50 +02:00
parent 359ac94265
commit ec4da8ffdc

View file

@ -958,6 +958,10 @@ CHECK_BACKUP_RESTORE () {
# Install the application in a LXC container
STANDARD_SETUP_APP
# Remove the previous residual backups
sudo rm -rf /var/lib/lxc/$lxc_name/rootfs/home/yunohost.backup
sudo rm -rf /var/lib/lxcsnaps/$lxc_name/$current_snapshot/rootfs/home/yunohost.backup
# BACKUP
# Made a backup if the installation succeed
if [ $yunohost_result -ne 0 ]