forked from Mirrors/freeswitch
FS-7019 detect debian explicitly, error on unknown distribution
This commit is contained in:
parent
a45dca3e0d
commit
a6401813a1
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue