Correct dockerfile backup

This commit is contained in:
Alexandre
2022-01-20 20:29:49 +01:00
parent 20f5fd27a0
commit 821c2b2e16
54 changed files with 650 additions and 650 deletions

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -6,28 +6,28 @@
# Automatic modules download # # Automatic modules download #
############################## ##############################
if [ -e "/MODULESFILE" ]; then if [ -e "/MODULESFILE" ]; then
echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
echo "Installing modules : $MODULES"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && mkdir -p /etc/cont-init.d \
mkdir -p /etc/cont-init.d && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/$scripts || echo "script failed to install $scripts"; done && \ && chmod -R 755 /etc/cont-init.d
chmod -R 777 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE
fi fi
####################### #######################
# Automatic installer # # Automatic installer #
####################### #######################
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
echo "Installing apps : $PACKAGES"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && eval /./automatic_packages.sh "$PACKAGES" \
eval /./automatic_packages.sh "$PACKAGES" && \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi

View File

@@ -9,12 +9,12 @@ if [ -e "/MODULESFILE" ]; then
echo "Executing modules script" echo "Executing modules script"
MODULES=$(</MODULESFILE) MODULES=$(</MODULESFILE)
MODULES="${MODULES:-00-banner.sh}" MODULES="${MODULES:-00-banner.sh}"
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
mkdir -p /etc/cont-init.d && \ && mkdir -p /etc/cont-init.d \
for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || echo "script failed to install $scripts"; done && \ && for scripts in $MODULES; do curl -L -f -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/$scripts" -o /etc/cont-init.d/"$scripts" || (echo "script failed to install $scripts" && exit 1); done \
chmod -R 755 /etc/cont-init.d || printf '%s\n' "${MODULES}" >/MODULESFILE && chmod -R 755 /etc/cont-init.d
fi fi
####################### #######################
@@ -23,11 +23,11 @@ fi
if [ -e "/ENVFILE" ]; then if [ -e "/ENVFILE" ]; then
echo "Executing script" echo "Executing script"
PACKAGES=$(</ENVFILE) PACKAGES=$(</ENVFILE)
if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi && \ if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash) >/dev/null; fi \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi && \ && if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl) >/dev/null; fi \
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh && \ && curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh \
chmod 777 /automatic_packages.sh && \ && chmod 777 /automatic_packages.sh \
eval /./automatic_packages.sh "$PACKAGES" && \ && eval /./automatic_packages.sh "$PACKAGES" \
rm /automatic_packages.sh rm /automatic_packages.sh
fi fi