diff --git a/debian/util.sh b/debian/util.sh index a7cb4dc400..3e42ab90e9 100755 --- a/debian/util.sh +++ b/debian/util.sh @@ -385,7 +385,16 @@ build_all () { done shift $(($OPTIND-1)) [ -n "$archs" ] || archs="amd64 i386" - [ -n "$distros" ] || distros="sid jessie wheezy" + if [ -z "$distros" ]; then + case "$(lsb_release -is)" in + Ubuntu) + distros="utopic trusty" + ;; + *) # default to assuming Debian + distros="sid jessie wheezy" + ;; + esac + fi ! $depinst || aptitude install -y \ rsync git less cowbuilder ccache \ devscripts equivs build-essential