mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
distro script: Removed United Linux (which has been dead since 2004)
This commit is contained in:
@@ -41,8 +41,6 @@ elif [ "${OS}" = "Linux" ] ; then
|
||||
DIST="Arch Linux"
|
||||
REV="" # Omit version since Arch Linux uses rolling releases
|
||||
IGNORE_LSB=1 # /etc/lsb-release would overwrite $REV with "rolling"
|
||||
elif [ -f /etc/UnitedLinux-release ] ; then
|
||||
DIST="${DIST}[`cat /etc/UnitedLinux-release | tr "\n" ' ' | sed s/VERSION.*//`]"
|
||||
elif [ -f /etc/os-release ] ; then
|
||||
DIST="$(grep '^NAME=' /etc/os-release | cut -d= -f2- | tr -d '\"')"
|
||||
REV="$(grep '^VERSION_ID=' /etc/os-release | cut -d= -f2- | tr -d '\"')"
|
||||
|
||||
Reference in New Issue
Block a user