mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-23 01:01:50 +02:00
correct
This commit is contained in:
@@ -11,6 +11,6 @@ for SCRIPTS in /etc/cont-init.d/*; do
|
|||||||
chown "$(id -u)":"$(id -g)" "$SCRIPTS"
|
chown "$(id -u)":"$(id -g)" "$SCRIPTS"
|
||||||
chmod a+x "$SCRIPTS"
|
chmod a+x "$SCRIPTS"
|
||||||
# Change shebang if no s6 supervision
|
# Change shebang if no s6 supervision
|
||||||
if [ ! -d /etc/s6 ]; then sed -i 's|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g' "$SCRIPTS"; fi
|
sed -i 's|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g' "$SCRIPTS"
|
||||||
/./"$SCRIPTS" || echo "$SCRIPTS: exiting $?"
|
/./"$SCRIPTS" || echo "$SCRIPTS: exiting $?"
|
||||||
done
|
done
|
||||||
|
|||||||
@@ -11,6 +11,6 @@ for SCRIPTS in /etc/cont-init.d/*; do
|
|||||||
chown "$(id -u)":"$(id -g)" "$SCRIPTS"
|
chown "$(id -u)":"$(id -g)" "$SCRIPTS"
|
||||||
chmod a+x "$SCRIPTS"
|
chmod a+x "$SCRIPTS"
|
||||||
# Change shebang if no s6 supervision
|
# Change shebang if no s6 supervision
|
||||||
if [ ! -d /etc/s6 ]; then sed -i 's|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g' "$SCRIPTS"; fi
|
sed -i 's|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g' "$SCRIPTS"
|
||||||
/./"$SCRIPTS" || echo "$SCRIPTS: exiting $?"
|
/./"$SCRIPTS" || echo "$SCRIPTS: exiting $?"
|
||||||
done
|
done
|
||||||
|
|||||||
@@ -11,6 +11,6 @@ for SCRIPTS in /etc/cont-init.d/*; do
|
|||||||
chown "$(id -u)":"$(id -g)" "$SCRIPTS"
|
chown "$(id -u)":"$(id -g)" "$SCRIPTS"
|
||||||
chmod a+x "$SCRIPTS"
|
chmod a+x "$SCRIPTS"
|
||||||
# Change shebang if no s6 supervision
|
# Change shebang if no s6 supervision
|
||||||
if [ ! -d /etc/s6 ]; then sed -i 's|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g' "$SCRIPTS"; fi
|
sed -i 's|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g' "$SCRIPTS"
|
||||||
/./"$SCRIPTS" || echo "$SCRIPTS: exiting $?"
|
/./"$SCRIPTS" || echo "$SCRIPTS: exiting $?"
|
||||||
done
|
done
|
||||||
|
|||||||
@@ -11,6 +11,6 @@ for SCRIPTS in /etc/cont-init.d/*; do
|
|||||||
chown "$(id -u)":"$(id -g)" "$SCRIPTS"
|
chown "$(id -u)":"$(id -g)" "$SCRIPTS"
|
||||||
chmod a+x "$SCRIPTS"
|
chmod a+x "$SCRIPTS"
|
||||||
# Change shebang if no s6 supervision
|
# Change shebang if no s6 supervision
|
||||||
if [ ! -d /etc/s6 ]; then sed -i 's|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g' "$SCRIPTS"; fi
|
sed -i 's|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g' "$SCRIPTS"
|
||||||
/./"$SCRIPTS" || echo "$SCRIPTS: exiting $?"
|
/./"$SCRIPTS" || echo "$SCRIPTS: exiting $?"
|
||||||
done
|
done
|
||||||
|
|||||||
@@ -11,6 +11,6 @@ for SCRIPTS in /etc/cont-init.d/*; do
|
|||||||
chown "$(id -u)":"$(id -g)" "$SCRIPTS"
|
chown "$(id -u)":"$(id -g)" "$SCRIPTS"
|
||||||
chmod a+x "$SCRIPTS"
|
chmod a+x "$SCRIPTS"
|
||||||
# Change shebang if no s6 supervision
|
# Change shebang if no s6 supervision
|
||||||
if [ ! -d /etc/s6 ]; then sed -i 's|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g' "$SCRIPTS"; fi
|
sed -i 's|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g' "$SCRIPTS"
|
||||||
/./"$SCRIPTS" || echo "$SCRIPTS: exiting $?"
|
/./"$SCRIPTS" || echo "$SCRIPTS: exiting $?"
|
||||||
done
|
done
|
||||||
|
|||||||
@@ -11,6 +11,6 @@ for SCRIPTS in /etc/cont-init.d/*; do
|
|||||||
chown "$(id -u)":"$(id -g)" "$SCRIPTS"
|
chown "$(id -u)":"$(id -g)" "$SCRIPTS"
|
||||||
chmod a+x "$SCRIPTS"
|
chmod a+x "$SCRIPTS"
|
||||||
# Change shebang if no s6 supervision
|
# Change shebang if no s6 supervision
|
||||||
if [ ! -d /etc/s6 ]; then sed -i 's|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g' "$SCRIPTS"; fi
|
sed -i 's|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g' "$SCRIPTS"
|
||||||
/./"$SCRIPTS" || echo "$SCRIPTS: exiting $?"
|
/./"$SCRIPTS" || echo "$SCRIPTS: exiting $?"
|
||||||
done
|
done
|
||||||
|
|||||||
@@ -11,6 +11,6 @@ for SCRIPTS in /etc/cont-init.d/*; do
|
|||||||
chown "$(id -u)":"$(id -g)" "$SCRIPTS"
|
chown "$(id -u)":"$(id -g)" "$SCRIPTS"
|
||||||
chmod a+x "$SCRIPTS"
|
chmod a+x "$SCRIPTS"
|
||||||
# Change shebang if no s6 supervision
|
# Change shebang if no s6 supervision
|
||||||
if [ ! -d /etc/s6 ]; then sed -i 's|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g' "$SCRIPTS"; fi
|
sed -i 's|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g' "$SCRIPTS"
|
||||||
/./"$SCRIPTS" || echo "$SCRIPTS: exiting $?"
|
/./"$SCRIPTS" || echo "$SCRIPTS: exiting $?"
|
||||||
done
|
done
|
||||||
|
|||||||
@@ -11,6 +11,6 @@ for SCRIPTS in /etc/cont-init.d/*; do
|
|||||||
chown "$(id -u)":"$(id -g)" "$SCRIPTS"
|
chown "$(id -u)":"$(id -g)" "$SCRIPTS"
|
||||||
chmod a+x "$SCRIPTS"
|
chmod a+x "$SCRIPTS"
|
||||||
# Change shebang if no s6 supervision
|
# Change shebang if no s6 supervision
|
||||||
if [ ! -d /etc/s6 ]; then sed -i 's|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g' "$SCRIPTS"; fi
|
sed -i 's|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g' "$SCRIPTS"
|
||||||
/./"$SCRIPTS" || echo "$SCRIPTS: exiting $?"
|
/./"$SCRIPTS" || echo "$SCRIPTS: exiting $?"
|
||||||
done
|
done
|
||||||
|
|||||||
@@ -11,6 +11,6 @@ for SCRIPTS in /etc/cont-init.d/*; do
|
|||||||
chown "$(id -u)":"$(id -g)" "$SCRIPTS"
|
chown "$(id -u)":"$(id -g)" "$SCRIPTS"
|
||||||
chmod a+x "$SCRIPTS"
|
chmod a+x "$SCRIPTS"
|
||||||
# Change shebang if no s6 supervision
|
# Change shebang if no s6 supervision
|
||||||
if [ ! -d /etc/s6 ]; then sed -i 's|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g' "$SCRIPTS"; fi
|
sed -i 's|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g' "$SCRIPTS"
|
||||||
/./"$SCRIPTS" || echo "$SCRIPTS: exiting $?"
|
/./"$SCRIPTS" || echo "$SCRIPTS: exiting $?"
|
||||||
done
|
done
|
||||||
|
|||||||
@@ -11,6 +11,6 @@ for SCRIPTS in /etc/cont-init.d/*; do
|
|||||||
chown "$(id -u)":"$(id -g)" "$SCRIPTS"
|
chown "$(id -u)":"$(id -g)" "$SCRIPTS"
|
||||||
chmod a+x "$SCRIPTS"
|
chmod a+x "$SCRIPTS"
|
||||||
# Change shebang if no s6 supervision
|
# Change shebang if no s6 supervision
|
||||||
if [ ! -d /etc/s6 ]; then sed -i 's|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g' "$SCRIPTS"; fi
|
sed -i 's|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g' "$SCRIPTS"
|
||||||
/./"$SCRIPTS" || echo "$SCRIPTS: exiting $?"
|
/./"$SCRIPTS" || echo "$SCRIPTS: exiting $?"
|
||||||
done
|
done
|
||||||
|
|||||||
@@ -11,6 +11,6 @@ for SCRIPTS in /etc/cont-init.d/*; do
|
|||||||
chown "$(id -u)":"$(id -g)" "$SCRIPTS"
|
chown "$(id -u)":"$(id -g)" "$SCRIPTS"
|
||||||
chmod a+x "$SCRIPTS"
|
chmod a+x "$SCRIPTS"
|
||||||
# Change shebang if no s6 supervision
|
# Change shebang if no s6 supervision
|
||||||
if [ ! -d /etc/s6 ]; then sed -i 's|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g' "$SCRIPTS"; fi
|
sed -i 's|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g' "$SCRIPTS"
|
||||||
/./"$SCRIPTS" || echo "$SCRIPTS: exiting $?"
|
/./"$SCRIPTS" || echo "$SCRIPTS: exiting $?"
|
||||||
done
|
done
|
||||||
|
|||||||
@@ -11,6 +11,6 @@ for SCRIPTS in /etc/cont-init.d/*; do
|
|||||||
chown "$(id -u)":"$(id -g)" "$SCRIPTS"
|
chown "$(id -u)":"$(id -g)" "$SCRIPTS"
|
||||||
chmod a+x "$SCRIPTS"
|
chmod a+x "$SCRIPTS"
|
||||||
# Change shebang if no s6 supervision
|
# Change shebang if no s6 supervision
|
||||||
if [ ! -d /etc/s6 ]; then sed -i 's|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g' "$SCRIPTS"; fi
|
sed -i 's|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g' "$SCRIPTS"
|
||||||
/./"$SCRIPTS" || echo "$SCRIPTS: exiting $?"
|
/./"$SCRIPTS" || echo "$SCRIPTS: exiting $?"
|
||||||
done
|
done
|
||||||
|
|||||||
@@ -11,6 +11,6 @@ for SCRIPTS in /etc/cont-init.d/*; do
|
|||||||
chown "$(id -u)":"$(id -g)" "$SCRIPTS"
|
chown "$(id -u)":"$(id -g)" "$SCRIPTS"
|
||||||
chmod a+x "$SCRIPTS"
|
chmod a+x "$SCRIPTS"
|
||||||
# Change shebang if no s6 supervision
|
# Change shebang if no s6 supervision
|
||||||
if [ ! -d /etc/s6 ]; then sed -i 's|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g' "$SCRIPTS"; fi
|
sed -i 's|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g' "$SCRIPTS"
|
||||||
/./"$SCRIPTS" || echo "$SCRIPTS: exiting $?"
|
/./"$SCRIPTS" || echo "$SCRIPTS: exiting $?"
|
||||||
done
|
done
|
||||||
|
|||||||
@@ -11,6 +11,6 @@ for SCRIPTS in /etc/cont-init.d/*; do
|
|||||||
chown "$(id -u)":"$(id -g)" "$SCRIPTS"
|
chown "$(id -u)":"$(id -g)" "$SCRIPTS"
|
||||||
chmod a+x "$SCRIPTS"
|
chmod a+x "$SCRIPTS"
|
||||||
# Change shebang if no s6 supervision
|
# Change shebang if no s6 supervision
|
||||||
if [ ! -d /etc/s6 ]; then sed -i 's|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g' "$SCRIPTS"; fi
|
sed -i 's|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g' "$SCRIPTS"
|
||||||
/./"$SCRIPTS" || echo "$SCRIPTS: exiting $?"
|
/./"$SCRIPTS" || echo "$SCRIPTS: exiting $?"
|
||||||
done
|
done
|
||||||
|
|||||||
@@ -11,6 +11,6 @@ for SCRIPTS in /etc/cont-init.d/*; do
|
|||||||
chown "$(id -u)":"$(id -g)" "$SCRIPTS"
|
chown "$(id -u)":"$(id -g)" "$SCRIPTS"
|
||||||
chmod a+x "$SCRIPTS"
|
chmod a+x "$SCRIPTS"
|
||||||
# Change shebang if no s6 supervision
|
# Change shebang if no s6 supervision
|
||||||
if [ ! -d /etc/s6 ]; then sed -i 's|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g' "$SCRIPTS"; fi
|
sed -i 's|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g' "$SCRIPTS"
|
||||||
/./"$SCRIPTS" || echo "$SCRIPTS: exiting $?"
|
/./"$SCRIPTS" || echo "$SCRIPTS: exiting $?"
|
||||||
done
|
done
|
||||||
|
|||||||
@@ -11,6 +11,6 @@ for SCRIPTS in /etc/cont-init.d/*; do
|
|||||||
chown "$(id -u)":"$(id -g)" "$SCRIPTS"
|
chown "$(id -u)":"$(id -g)" "$SCRIPTS"
|
||||||
chmod a+x "$SCRIPTS"
|
chmod a+x "$SCRIPTS"
|
||||||
# Change shebang if no s6 supervision
|
# Change shebang if no s6 supervision
|
||||||
if [ ! -d /etc/s6 ]; then sed -i 's|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g' "$SCRIPTS"; fi
|
sed -i 's|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g' "$SCRIPTS"
|
||||||
/./"$SCRIPTS" || echo "$SCRIPTS: exiting $?"
|
/./"$SCRIPTS" || echo "$SCRIPTS: exiting $?"
|
||||||
done
|
done
|
||||||
|
|||||||
@@ -11,6 +11,6 @@ for SCRIPTS in /etc/cont-init.d/*; do
|
|||||||
chown "$(id -u)":"$(id -g)" "$SCRIPTS"
|
chown "$(id -u)":"$(id -g)" "$SCRIPTS"
|
||||||
chmod a+x "$SCRIPTS"
|
chmod a+x "$SCRIPTS"
|
||||||
# Change shebang if no s6 supervision
|
# Change shebang if no s6 supervision
|
||||||
if [ ! -d /etc/s6 ]; then sed -i 's|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g' "$SCRIPTS"; fi
|
sed -i 's|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g' "$SCRIPTS"
|
||||||
/./"$SCRIPTS" || echo "$SCRIPTS: exiting $?"
|
/./"$SCRIPTS" || echo "$SCRIPTS: exiting $?"
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user