mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-19 09:53:02 -04:00
Merge pull request #478 from linuxserver/universal-package-install-s6v3
switch to hybrid (universal-package-install)
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
|||||||
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
|
# Exit if no installable packages are provided
|
||||||
|
if [ -z ${INSTALL_PACKAGES+x} ]; then
|
||||||
|
echo "**** No packages to install ****"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
#Split list of packages on delimiter '|'
|
||||||
|
IFS='|'
|
||||||
|
INSTALL_PACKAGES=(${INSTALL_PACKAGES})
|
||||||
|
for PKG in "${INSTALL_PACKAGES[@]}"; do
|
||||||
|
echo "**** Adding ${PKG} to install list ****"
|
||||||
|
echo "${PKG}" >> /mod-repo-packages-to-install.list
|
||||||
|
done
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
oneshot
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
/etc/s6-overlay/s6-rc.d/init-mod-universal-package-install-add-package/run
|
||||||
Reference in New Issue
Block a user