summaryrefslogtreecommitdiffstats
path: root/debootstrap
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@debian.org>2011-11-19 18:46:58 (GMT)
committerOtavio Salvador <otavio@debian.org>2011-11-19 18:46:58 (GMT)
commitb92ce0bcc00f29ac40180a734d9e878763ac76a1 (patch)
tree5b536aec79f4d03024dd26ecf40eb97de6067fb8 /debootstrap
parentcb07fc369a6d64b28d6041d9e72e96d041a79708 (diff)
downloaddebootstrap-b92ce0bcc00f29ac40180a734d9e878763ac76a1.zip
debootstrap-b92ce0bcc00f29ac40180a734d9e878763ac76a1.tar.gz
debootstrap-b92ce0bcc00f29ac40180a734d9e878763ac76a1.tar.bz2
Fix --print-debs support when using --foreign param. Closes: #551837.
Diffstat (limited to 'debootstrap')
-rwxr-xr-xdebootstrap6
1 files changed, 5 insertions, 1 deletions
diff --git a/debootstrap b/debootstrap
index facd1d8..6130829 100755
--- a/debootstrap
+++ b/debootstrap
@@ -33,6 +33,7 @@ HOST_OS=""
KEEP_DEBOOTSTRAP_DIR=""
USE_DEBIANINSTALLER_INTERACTION=""
SECOND_STAGE_ONLY=""
+PRINT_DEBS=""
CHROOTDIR=""
MAKE_TARBALL=""
KEEP_DEBOOTSTRAP_DIR=""
@@ -145,7 +146,9 @@ if [ $# != 0 ] ; then
shift
;;
--foreign)
- WHAT_TO_DO="finddebs dldebs first_stage"
+ if [ "$PRINT_DEBS" != "true" ]; then
+ WHAT_TO_DO="finddebs dldebs first_stage"
+ fi
shift
;;
--second-stage)
@@ -169,6 +172,7 @@ if [ $# != 0 ] ; then
;;
--print-debs)
WHAT_TO_DO="finddebs printdebs kill_target"
+ PRINT_DEBS=true
shift
;;
--download-only)