We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f1bfd2 commit e13f91eCopy full SHA for e13f91e
install.sh.in
@@ -297,6 +297,9 @@ elif [ $ID == "ubuntu" ] || [ $ID == "pop" ]; then
297
fi
298
elif [ $ID == "linuxmint" ]; then
299
echo '*** Detected Linux Mint, creating /etc/apt/sources.list.d/zerotier.list'
300
+
301
+ # fix for non integer version number
302
+ VERSION_ID=$(echo $VERSION_ID | cut -d . -f 1)
303
304
if [[ "$VERSION_ID" -gt "$MAX_SUPPORTED_MINT_VERSION" ]]; then
305
write_apt_repo $ID $MAX_SUPPORTED_MINT_VERSION $ZT_BASE_URL_HTTP $MAX_SUPPORTED_MINT_VERSION_NAME
0 commit comments