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
1 changed files with 5 additions and 1 deletions

6
debian/util.sh vendored
View File

@ -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 \