mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-06-07 14:01:28 +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
|
fi
|
||||||
|
|
||||||
echo "Installing the build dependencies described in «$filepath»..."
|
echo "Installing the build dependencies described in «$filepath»..."
|
||||||
|
|
||||||
|
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')
|
sudo aptitude 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
|
||||||
exit 0
|
exit 0
|
||||||
elif [ $# -eq 1 ]
|
elif [ $# -eq 1 ]
|
||||||
then
|
then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user