Zorin unsupported by linux install script
I used the 'curl' command provided for installing zerotier and was informed that ZorinOS is unsupported (which is very strange as I have installed this several times previously with no trouble at all) It was also suggested that I post that the issue occurred.
I have found a method to install it as per: Linux Questions
and duplicated his suggestion where I pre-empt the decision tree by redefining the ID from zorin to ubuntu as follows:
if [ ! -f /etc/os-release ]; then
echo '*** Cannot detect Linux distribution! Aborting.'
exit 1
fi
source /etc/os-release
#added for zorin compatability
if [ $ID == "zorin" ]; then
ID="ubuntu"
VERSION_ID="22.04"
fi
#end of custom code
if [ $ID == "debian" ] || [ $ID == "raspbian" ]; then
echo '*** Detected Debian Linux, creating /etc/apt/sources.list.d/zerotier.list'
# Debian testing/sid does not declare a VERSION_ID in /etc/os-release
if [ -z "$VERSION_ID" ] || [ $VERSION_ID -gt $MAX_SUPPORTED_DEBIAN_VERSION ]; then
Obviously not the neatest solution but quick enough and and Zorin works just fine for all its versions defaulting to ubuntu PPA's etc
You might want to add a version translating array as you used to map Ubuntu versions to LTS versions though since Zorin15, 16 and 17 have different ubuntu bases
https://github.com/zerotier/install.zerotier.com/issues/132
dublicate