From 796ad86236b6f93d5f5f941eff3681ac375ad30d Mon Sep 17 00:00:00 2001 From: Stefano Rivera Date: Mon, 5 Sep 2011 02:34:44 +0200 Subject: [PATCH] get-build-deps: Tell aptitude not to follow Recommends (LP: #817500) --- debian/changelog | 1 + get-build-deps | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 6cad5c8..381f1e0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -23,6 +23,7 @@ ubuntu-dev-tools (0.129) UNRELEASED; urgency=low containing non-ASCII characters (LP: #836661) * Recommend pbuilder | aptitude for get-build-deps, and exit with an error if neither are installed (LP: #799368) + * get-build-deps: Tell aptitude not to follow Recommends (LP: #817500) -- Stefano Rivera Sat, 03 Sep 2011 21:04:38 +0200 diff --git a/get-build-deps b/get-build-deps index 7125020..60d4668 100755 --- a/get-build-deps +++ b/get-build-deps @@ -67,7 +67,7 @@ to use this script." sudo /usr/lib/pbuilder/pbuilder-satisfydepends else 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 fi exit 0