FS-7019 detect debian explicitly, error on unknown distribution

This commit is contained in:
Steven Ayre 2014-11-21 17:59:56 +00:00
parent a45dca3e0d
commit a6401813a1

6
debian/util.sh vendored
View File

@ -390,9 +390,13 @@ build_all () {
Ubuntu) Ubuntu)
distros="utopic trusty" distros="utopic trusty"
;; ;;
*) # default to assuming Debian Debian)
distros="sid jessie wheezy" distros="sid jessie wheezy"
;; ;;
*)
echo "Unknown distribution"
exit -1
;;
esac esac
fi fi
! $depinst || aptitude install -y \ ! $depinst || aptitude install -y \