mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-20 10:21:36 -04:00
fix up ARCH setting
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
#!/usr/bin/with-contenv bash
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
|
ARCH=$(uname -m)
|
||||||
if [[ "${ARCH}" = "armv7l" ]]; then
|
if [[ "${ARCH}" = "armv7l" ]]; then
|
||||||
echo "**** The universal docker mod no longer supports arm32v7/armhf per https://info.linuxserver.io/issues/2023-07-01-armhf/ ****"
|
echo "**** The universal docker mod no longer supports arm32v7/armhf per https://info.linuxserver.io/issues/2023-07-01-armhf/ ****"
|
||||||
exit 0
|
exit 0
|
||||||
@@ -37,7 +38,6 @@ else
|
|||||||
xfsprogs \
|
xfsprogs \
|
||||||
xz" >> /mod-repo-packages-to-install.list
|
xz" >> /mod-repo-packages-to-install.list
|
||||||
fi
|
fi
|
||||||
ARCH=$(uname -m)
|
|
||||||
if [ -d "/docker-tgz" ] ; then
|
if [ -d "/docker-tgz" ] ; then
|
||||||
echo "Copying over docker and docker-compose binaries"
|
echo "Copying over docker and docker-compose binaries"
|
||||||
mkdir -p /usr/local/lib/docker/cli-plugins
|
mkdir -p /usr/local/lib/docker/cli-plugins
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/with-contenv bash
|
#!/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/ ****"
|
echo "**** The universal docker mod no longer supports arm32v7/armhf per https://info.linuxserver.io/issues/2023-07-01-armhf/ ****"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/with-contenv bash
|
#!/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/ ****"
|
echo "**** The universal docker mod no longer supports arm32v7/armhf per https://info.linuxserver.io/issues/2023-07-01-armhf/ ****"
|
||||||
sleep infinity
|
sleep infinity
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user