[pbuilder] 01/01: modules: Pass -q, -y and APTGETOPT to apt-get in remove_packages

James Clarke jrtc27-guest at moszumanska.debian.org
Wed May 4 22:46:11 UTC 2016


This is an automated email from the git hooks/post-receive script.

jrtc27-guest pushed a commit to branch master
in repository pbuilder.

commit 60e5a317ec8a77f06e5fcaba0769d2916be8c382
Author: James Clarke <jrtc27 at jrtc27.com>
Date:   Wed May 4 23:43:45 2016 +0100

    modules: Pass -q, -y and APTGETOPT to apt-get in remove_packages
---
 pbuilder-modules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pbuilder-modules b/pbuilder-modules
index e91d550..e7f5063 100644
--- a/pbuilder-modules
+++ b/pbuilder-modules
@@ -483,7 +483,7 @@ function remove_packages () {
     done
     if [ "${#toremove[@]}" -gt 0 ]; then
         log.i "Removing [${toremove[@]}] from the chroot..."
-        $CHROOTEXEC apt-get --purge remove "${toremove[@]}"
+        $CHROOTEXEC apt-get -q -y "${APTGETOPT[@]}" --purge remove "${toremove[@]}"
     fi
 }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pbuilder/pbuilder.git



More information about the Pbuilder-maint mailing list