fix up ARCH setting

This commit is contained in:
aptalca 2023-08-07 20:58:56 -04:00
parent e06197ac28
commit 3d7921a6ee
No known key found for this signature in database
GPG Key ID: BE36CFFB9FD85548
3 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bash
ARCH=$(uname -m)
if [[ "${ARCH}" = "armv7l" ]]; then
echo "**** The universal docker mod no longer supports arm32v7/armhf per https://info.linuxserver.io/issues/2023-07-01-armhf/ ****"
exit 0
@ -37,7 +38,6 @@ else
xfsprogs \
xz" >> /mod-repo-packages-to-install.list
fi
ARCH=$(uname -m)
if [ -d "/docker-tgz" ] ; then
echo "Copying over docker and docker-compose binaries"
mkdir -p /usr/local/lib/docker/cli-plugins

View File

@ -1,6 +1,6 @@
#!/usr/bin/with-contenv bash
if [[ "${ARCH}" = "armv7l" ]]; then
if [[ $(uname -m) = "armv7l" ]]; then
echo "**** The universal docker mod no longer supports arm32v7/armhf per https://info.linuxserver.io/issues/2023-07-01-armhf/ ****"
exit 0
fi

View File

@ -1,6 +1,6 @@
#!/usr/bin/with-contenv bash
if [[ "${ARCH}" = "armv7l" ]]; then
if [[ $(uname -m) = "armv7l" ]]; then
echo "**** The universal docker mod no longer supports arm32v7/armhf per https://info.linuxserver.io/issues/2023-07-01-armhf/ ****"
sleep infinity
fi