mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
Merge branch 'master' of https://github.com/alexbelgium/hassio-addons
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
##############################
|
||||
|
||||
PACKAGES="$1"
|
||||
echo "To install : $PACKAGES"
|
||||
|
||||
# Install bash if needed
|
||||
if ! command -v bash >/dev/null 2>/dev/null; then
|
||||
@@ -20,7 +21,7 @@ fi
|
||||
# Call apps installer script if needed
|
||||
curl -f -L -s -S "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/automatic_packages.sh" --output /automatic_packages.sh
|
||||
chmod 777 /automatic_packages.sh
|
||||
eval /./automatic_packages.sh "${PACKAGES:-}"
|
||||
eval /./automatic_packages.sh "${PACKAGES:-bash}"
|
||||
|
||||
# Clean
|
||||
rm /automatic_packages.sh
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
##############################
|
||||
|
||||
MODULES="$1"
|
||||
echo "To download : $MODULES"
|
||||
|
||||
# Install bash if not available
|
||||
if ! command -v bash >/dev/null 2>/dev/null; then
|
||||
|
||||
@@ -35,6 +35,7 @@ RUN if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi && rm /ha_ls
|
||||
|
||||
# Avoid custom-init.d duplications
|
||||
ARG CONFIGLOCATION="/config/addons_config/jellyseerr"
|
||||
# hadolint ignore=SC2086
|
||||
RUN \
|
||||
for file in $(grep -sril "/app/config" /app /etc); do sed -i "s=/app/config=$CONFIGLOCATION=g" $file; done
|
||||
|
||||
|
||||
@@ -31,5 +31,5 @@
|
||||
},
|
||||
"slug": "test",
|
||||
"url": "https://github.com/alexbelgium/hassio-addons/tree/master/addons_updater",
|
||||
"version": "test5"
|
||||
}
|
||||
"version": "test6"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user