From: Steven Ayre Date: Fri, 21 Nov 2014 17:59:56 +0000 (+0000) Subject: FS-7019 detect debian explicitly, error on unknown distribution X-Git-Tag: v1.4.15^2~16^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6401813a133d2f08ff9c465f8ae50b3a1dba8a4;p=thirdparty%2Ffreeswitch.git FS-7019 detect debian explicitly, error on unknown distribution --- diff --git a/debian/util.sh b/debian/util.sh index 3e42ab90e9..7452be5591 100755 --- a/debian/util.sh +++ b/debian/util.sh @@ -390,9 +390,13 @@ build_all () { Ubuntu) distros="utopic trusty" ;; - *) # default to assuming Debian + Debian) distros="sid jessie wheezy" ;; + *) + echo "Unknown distribution" + exit -1 + ;; esac fi ! $depinst || aptitude install -y \