mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-04-16 21:01:10 +00:00
get-build-deps: switch back to pbuilder-satisfydepends, use dpkg-checkbuilddeps as fallback
This commit is contained in:
parent
4d4faa5b68
commit
5b894eaa93
@ -42,8 +42,15 @@ to use this script."
|
||||
fi
|
||||
|
||||
echo "Installing the build dependencies described in «$filepath»..."
|
||||
sudo aptitude install $(echo $missing_dependencies | awk -F: '{ print $3 }' | sed 's/([^)]*)//g' | sed 's/|\s[^\s]*//g')
|
||||
|
||||
if [ -x /usr/lib/pbuilder/pbuilder-satisfydepends ]
|
||||
then
|
||||
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')
|
||||
#' <--- Fix to avoid Geanys markup breaking
|
||||
fi
|
||||
exit 0
|
||||
elif [ $# -eq 1 ]
|
||||
then
|
||||
|
Loading…
x
Reference in New Issue
Block a user