Small fix

backup folder is always empty in this if case so not necessary to empty it
This commit is contained in:
duffbeer2000
2019-12-29 19:56:21 +01:00
parent 37c9046077
commit 22d6b0158c
3 changed files with 0 additions and 3 deletions

View File

@@ -117,7 +117,6 @@ else
mv /opt/iobroker/iobroker_20*.tar.gz /opt/
tar -xf /opt/initial_iobroker.tar -C /
mkdir /opt/iobroker/backups
rm -r /opt/iobroker/backups/* &> /dev/null
mv /opt/iobroker_20*.tar.gz /opt/iobroker/backups/
iobroker restore 0
echo "Done."