aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-satisfydepends
diff options
context:
space:
mode:
authordancer <dancer>2003-03-01 13:51:31 +0000
committerdancer <dancer>2003-03-01 13:51:31 +0000
commit452cefee145c44a03a39805ce10e342ca2bd8be1 (patch)
treea82fc5f06a7bb5ba08fcaa4fc358394bb84bffe3 /pbuilder-satisfydepends
parent65be5f8280c68ba0ca62635d75799bff98aedb4d (diff)
downloadpbuilder-452cefee145c44a03a39805ce10e342ca2bd8be1.tar
pbuilder-452cefee145c44a03a39805ce10e342ca2bd8be1.tar.gz
commit
Diffstat (limited to 'pbuilder-satisfydepends')
-rw-r--r--pbuilder-satisfydepends8
1 files changed, 7 insertions, 1 deletions
diff --git a/pbuilder-satisfydepends b/pbuilder-satisfydepends
index 4bc299d..2370a43 100644
--- a/pbuilder-satisfydepends
+++ b/pbuilder-satisfydepends
@@ -110,6 +110,10 @@ tolower($0) ~ /^'"${BD_REGEXP}"':/ {p=1}
SATISFIED="yes"
INSTALLPKGLIST="${INSTALLPKGLIST} ${CURRENTREALPKGNAME}"
else
+ echo " -> Cannot install ${CURRENTREALPKGNAME}; apt errors follow:"
+ if $CHROOTEXEC /usr/bin/apt-get -s install ${INSTALLPKGLIST} ${CURRENTREALPKGNAME}; then
+ :
+ fi
# package could not be found. -- looking for alternative.
PROVIDED=""
checkbuilddep_provides ${CURRENTREALPKGNAME}
@@ -122,7 +126,9 @@ tolower($0) ~ /^'"${BD_REGEXP}"':/ {p=1}
else
# show the error for diagnostic purposes
echo " -> Cannot install $PROVIDED; apt errors follow:"
- $CHROOTEXEC /usr/bin/apt-get -s install ${INSTALLPKGLIST} ${PROVIDED}
+ if $CHROOTEXEC /usr/bin/apt-get -s install ${INSTALLPKGLIST} ${PROVIDED}; then
+ :
+ fi
fi
fi
fi