mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-08-28 15:53:32 +02:00
aurral: remove hardcoded fallbacks from entrypoint mkdirs
This commit is contained in:
@@ -1,12 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# HA Supervisor injects addon options as env vars automatically.
|
|
||||||
# DOWNLOAD_FOLDER and WEEKLY_FLOW_FOLDER are set by HA from options.json,
|
|
||||||
# with the Dockerfile ENV values as fallbacks.
|
|
||||||
|
|
||||||
mkdir -p /config/data
|
mkdir -p /config/data
|
||||||
mkdir -p "${DOWNLOAD_FOLDER:-/share/aurral/downloads}"
|
mkdir -p "${DOWNLOAD_FOLDER}"
|
||||||
mkdir -p "${WEEKLY_FLOW_FOLDER:-/share/aurral/downloads/weekly-flow}"
|
mkdir -p "${WEEKLY_FLOW_FOLDER}"
|
||||||
|
|
||||||
exec "$@"
|
exec "$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user