Skip to content

Commit

Permalink
fix up ARCH setting
Browse files Browse the repository at this point in the history
  • Loading branch information
aptalca committed Aug 8, 2023
1 parent e06197a commit 3d7921a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 3d7921a

Please sign in to comment.