get-build-deps: Tell aptitude not to follow Recommends (LP: #817500)

This commit is contained in:
Stefano Rivera 2011-09-05 02:34:44 +02:00
parent b68895d129
commit 796ad86236
2 changed files with 2 additions and 1 deletions

1
debian/changelog vendored
View File

@ -23,6 +23,7 @@ ubuntu-dev-tools (0.129) UNRELEASED; urgency=low
containing non-ASCII characters (LP: #836661) containing non-ASCII characters (LP: #836661)
* Recommend pbuilder | aptitude for get-build-deps, and exit with an error * Recommend pbuilder | aptitude for get-build-deps, and exit with an error
if neither are installed (LP: #799368) if neither are installed (LP: #799368)
* get-build-deps: Tell aptitude not to follow Recommends (LP: #817500)
-- Stefano Rivera <stefanor@debian.org> Sat, 03 Sep 2011 21:04:38 +0200 -- Stefano Rivera <stefanor@debian.org> Sat, 03 Sep 2011 21:04:38 +0200

View File

@ -67,7 +67,7 @@ to use this script."
sudo /usr/lib/pbuilder/pbuilder-satisfydepends sudo /usr/lib/pbuilder/pbuilder-satisfydepends
else else
echo "Warning: «pbuilder» isn't installed, falling back to «dpkg-checkbuilddeps»." echo "Warning: «pbuilder» isn't installed, falling back to «dpkg-checkbuilddeps»."
sudo aptitude install $(echo $missing_dependencies | awk -F': ' '{ print $3 }' | sed 's/([^)]*)//g' | sed 's/|\s[^\s]*//g') sudo aptitude --without-recommends install $(echo $missing_dependencies | awk -F': ' '{ print $3 }' | sed 's/([^)]*)//g' | sed 's/|\s[^\s]*//g')
#' <--- Fix to avoid Geanys markup breaking #' <--- Fix to avoid Geanys markup breaking
fi fi
exit 0 exit 0