summaryrefslogtreecommitdiffstats
path: root/debootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'debootstrap')
-rwxr-xr-xdebootstrap6
1 files changed, 6 insertions, 0 deletions
diff --git a/debootstrap b/debootstrap
index e987112..2bbd1ac 100755
--- a/debootstrap
+++ b/debootstrap
@@ -365,6 +365,12 @@ fi
###########################################################################
+if [ -n "$DISABLE_KEYRING" -a -n "$FORCE_KEYRING" ]; then
+ error 1 BADARG "Both --no-check-gpg and --force-check-gpg specified, please pick one (at most)"
+fi
+
+###########################################################################
+
if [ "$SECOND_STAGE_ONLY" = "true" ]; then
SUITE=$(cat $DEBOOTSTRAP_DIR/suite)
ARCH=$(cat $DEBOOTSTRAP_DIR/arch)