Fix two superflous warnings

This commit is contained in:
Max Winterstein
2021-01-04 00:12:20 +01:00
parent 5ba8dab20a
commit 001d41b342
3 changed files with 8 additions and 4 deletions

View File

@@ -1,5 +1,8 @@
# Changelog
## [0.5.0] - 2021-01-04
- Fix two superflous warnings
## [0.4.0] - 2020-12-30
- Change from sha image tag to v5.1.0

View File

@@ -1,6 +1,6 @@
{
"name": "ioBroker",
"version": "0.4.0",
"version": "0.5.0",
"webui": "http://[HOST]:[PORT:8081]/",
"slug": "iobroker",
"description": "Open source automation platform",
@@ -29,6 +29,7 @@
"8086/tcp": "reserved for addition addons"
},
"stage": "experimental",
"url": "https://github.com/MaxWinterstein/homeassistant-addons/"
"url": "https://github.com/MaxWinterstein/homeassistant-addons/",
"hassio_role": "default",
"hassio_api": true
}

View File

@@ -3,7 +3,7 @@
# begin hass addon custom mount block
echo "Symlinking data dir"
mv /opt/iobroker /opt/iobroker_ori # move image brought folder away
mkdir /data/iobroker || echo 'Thats fine, data folder already exists'
mkdir -p /data/iobroker
ln -s /data/iobroker /opt/iobroker # symlink /data mount
if find /data/iobroker -maxdepth 0 -empty | read v; then
echo "Data folder looks unused, will copy initial stuff"