mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-15 05:11:49 +02:00
Update 00-aaa_dockerfile_backup.sh
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# shellcheck disable=SC2116
|
|
||||||
|
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
|
|
||||||
@@ -32,3 +31,13 @@ if [ -e "/ENVFILE" ]; then
|
|||||||
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
&& eval /./automatic_packages.sh "${PACKAGES:-}" \
|
||||||
&& rm /automatic_packages.sh
|
&& rm /automatic_packages.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -e "/MODULESFILE" ] && [ ! -f /entrypoint.sh ]; then
|
||||||
|
for scripts in $MODULES; do
|
||||||
|
echo "$scripts : executing"
|
||||||
|
chown "$(id -u)":"$(id -g)" /etc/cont-init.d/"$scripts"
|
||||||
|
chmod a+x /etc/cont-init.d/"$scripts"
|
||||||
|
/./etc/cont-init.d/"$scripts" || echo "/etc/cont-init.d/$scripts: exiting $?"
|
||||||
|
rm /etc/cont-init.d/"$scripts"
|
||||||
|
done | tac
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user