diff options
Diffstat (limited to 'pbuilder-createbuildenv')
-rwxr-xr-x | pbuilder-createbuildenv | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pbuilder-createbuildenv b/pbuilder-createbuildenv index 48b0c05..1fc3f15 100755 --- a/pbuilder-createbuildenv +++ b/pbuilder-createbuildenv @@ -91,6 +91,13 @@ if [ -n "$REMOVEPACKAGES" ]; then fi recover_aptcache $CHROOTEXEC /usr/bin/apt-get -q -y --force-yes "${FORCE_CONFNEW[@]}" dist-upgrade + +case `readlink -e /usr/lib/pbuilder/pbuilder-satisfydepends` in + *-aptitude) + EXTRAPACKAGES="$EXTRAPACKAGES aptitude" + ;; +esac + $CHROOTEXEC /usr/bin/apt-get -q -y --force-yes install build-essential dpkg-dev $EXTRAPACKAGES save_aptcache |