From ce3d5c51d19d48e7e9483f4ff87870dc80aba600 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Alberto=20P=C3=A9rez=20Garc=C3=ADa?= Date: Wed, 11 Nov 2015 21:28:03 +0100 Subject: [PATCH] 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. --- build/resources/linux/debian/postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/resources/linux/debian/postinst b/build/resources/linux/debian/postinst index 20e888609..c7d2d36e2 100755 --- a/build/resources/linux/debian/postinst +++ b/build/resources/linux/debian/postinst @@ -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