Skip to content

Commit e13f91e

Browse files
raimocomladuke
authored andcommitted
Linux Mint, fix for non integer version number
1 parent 0f1bfd2 commit e13f91e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

install.sh.in

+3
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,9 @@ elif [ $ID == "ubuntu" ] || [ $ID == "pop" ]; then
297297
fi
298298
elif [ $ID == "linuxmint" ]; then
299299
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)
300303

301304
if [[ "$VERSION_ID" -gt "$MAX_SUPPORTED_MINT_VERSION" ]]; then
302305
write_apt_repo $ID $MAX_SUPPORTED_MINT_VERSION $ZT_BASE_URL_HTTP $MAX_SUPPORTED_MINT_VERSION_NAME

0 commit comments

Comments
 (0)