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