summaryrefslogtreecommitdiffstats
path: root/debootstrap
diff options
context:
space:
mode:
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)