remove init-mod-apt-get

This commit is contained in:
aptalca 2022-07-27 12:47:18 -04:00
parent 5c4a59c60e
commit 78dc3d4854
7 changed files with 1 additions and 7 deletions

View File

@ -1,5 +0,0 @@
#!/usr/bin/with-contenv bash
if [ -f /usr/bin/apt ]; then
apt-get update
fi

View File

@ -1 +0,0 @@
oneshot

View File

@ -1 +0,0 @@
/etc/s6-overlay/s6-rc.d/init-mod-apt-get/run

View File

@ -4,6 +4,7 @@ if [ -f "/mod-repo-packages-to-install.list" ]; then
echo "**** Installing all mod packages ****"
if [ -f /usr/bin/apt ]; then
DEBIAN_FRONTEND="noninteractive"
apt-get update
apt-get install -y \
$(cat /mod-repo-packages-to-install.list)
elif [ -f /usr/bin/apk ]; then