mweimerskirch / plantuml-installer

A Bash script to install the latest version of PlantUML on Debian or Ubuntu systems
MIT License
1 stars 0 forks source link

It won't install on Devuan #1

Open onekk opened 6 days ago

onekk commented 6 days ago

Hello, I 've found your script very useful, but it won't work on Devuan (Debian derivative without SystemD)

To make it works, I 've modified the lines to read:

# Check the Linux distribution
if [ -f /etc/os-release ]; then
    . /etc/os-release
    if [[ "$ID" != "debian" && "$ID" != "ubuntu" && "$ID" != "devuan" ]]; then
        echo -e "${RED}Error: This script only supports Debian, Devuan or Ubuntu.${NC}"
        exit 1
    fi
else
    echo -e "${RED}Error: Cannot determine the Linux distribution.${NC}"
    exit 1
fi

And it work flawlessy.

Many thanks for the script and regards

Carlo D.

mweimerskirch commented 5 days ago

Hello. Feel free to create a Pull Request.