small fix for installation detection

This commit is contained in:
buanet
2020-08-09 23:02:02 +02:00
parent 3c8c6fcd22
commit 1ab6945c0d

View File

@@ -124,6 +124,7 @@ then
elif [ -f /opt/iobroker/iobroker ]
then
echo "Existing installation of ioBroker detected in /opt/iobroker."
rm -f /opt/scripts/.docker_config/.install_host
elif [ $(ls *_backupiobroker.tar.gz 2> /dev/null | wc -l) != "0" ] && [ $(tar -ztvf /opt/iobroker/*_backupiobroker.tar.gz "backup/backup.json" 2> /dev/null | wc -l) != "0" ]
then
if [ "$multihost" = "slave" ]