This commit is contained in:
Alexandre
2023-09-09 20:21:58 +02:00
4 changed files with 6 additions and 3 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -31,5 +31,5 @@
},
"slug": "test",
"url": "https://github.com/alexbelgium/hassio-addons/tree/master/addons_updater",
"version": "test5"
}
"version": "test6"
}