code-server-dotnet: deprecate arm32

This commit is contained in:
aptalca
2023-11-14 11:13:03 -05:00
parent 94357a8774
commit 5cfe5a0194
2 changed files with 6 additions and 6 deletions
@@ -2,6 +2,11 @@
# Determine if setup is needed
if [ -d /dotnet ]; then
ARCH=$(uname -m)
if [[ "${ARCH}" = "armv7l" ]]; then
echo "**** The dotnet mod no longer supports arm32v7/armhf images, exiting ****"
exit 0
fi
# install deps
echo "**** Adding dotnet dependencies to package install list ****"
source /etc/lsb-release
@@ -16,7 +21,6 @@ if [ -d /dotnet ]; then
rm -rf /dotnet_*
fi
DOTNET_VERSIONS=$(cat /dotnet/versions.txt)
ARCH=$(uname -m)
for i in $DOTNET_VERSIONS; do
mkdir -p "/dotnet_${i}"
tar xzf "/dotnet/dotnetsdk_${i}_${ARCH}.tar.gz" -C "/dotnet_${i}"