Allows package to be installed in ElementaryOS

Changes the condition for detecting the distro name so ElementaryOS (ubuntu based) goes as an Ubuntu and the package installs.
This commit is contained in:
Luis Alberto Pérez García 2015-11-11 21:28:03 +01:00
parent d28e84d95a
commit 475c4aae3b

View file

@ -24,7 +24,7 @@ case "$1" in
DISTRO=`lsb_release -s -i`
if [ "$DISTRO" = "Ubuntu" ]; then
if [ "$DISTRO" = "Ubuntu" ] || [ "$DISTRO" = "elementary OS" ]; then
DISTS=$UBUNTU_CODENAMES
DISTRO="ubuntu"
elif [ "$DISTRO" = "Debian" ]; then