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