diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-11-18 10:15:15 +0000 |
---|---|---|
committer | Mattia Rizzolo <mattia@mapreri.org> | 2015-11-18 10:29:10 +0000 |
commit | c6dcd5e516f0de7199599ff69e55cb3525e7bec6 (patch) | |
tree | a56f475bccf7016711859db75bad769be4423f13 /pbuilder-updatebuildenv | |
parent | 92191f5c6441c7d700c91bc03a0a1274645c82f0 (diff) | |
download | pbuilder-c6dcd5e516f0de7199599ff69e55cb3525e7bec6.tar pbuilder-c6dcd5e516f0de7199599ff69e55cb3525e7bec6.tar.gz |
updatebuildenv: correctly detect if debdelta is available
Closes: #805392
Diffstat (limited to 'pbuilder-updatebuildenv')
-rwxr-xr-x | pbuilder-updatebuildenv | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pbuilder-updatebuildenv b/pbuilder-updatebuildenv index d91ce88..fd6cbf7 100755 --- a/pbuilder-updatebuildenv +++ b/pbuilder-updatebuildenv @@ -73,7 +73,7 @@ recover_aptcache $TRAP saveaptcache_umountproc_cleanbuildplace_trap exit sighup if [ "$DEBDELTA" = "yes" ]; then - if $CHROOTEXEC hash debdelta-upgrade 2> /dev/null ; then + if $CHROOTEXEC which debdelta-upgrade > /dev/null 2>&1 ; then log.i "Using debdelta-upgrade for available deltas" if $CHROOTEXEC debdelta-upgrade ; then : |