From e568e5a88bc569ee608049bd0d8820153c2a60c5 Mon Sep 17 00:00:00 2001 From: Paper Date: Mon, 17 May 2021 21:15:11 +0200 Subject: [PATCH] xbps-src: let -I imply -N don't synchronize repositories when not installing any packages --- xbps-src | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xbps-src b/xbps-src index c3cd7e5db10b..056e01ee1bdf 100755 --- a/xbps-src +++ b/xbps-src @@ -375,7 +375,7 @@ while getopts "$XBPS_OPTSTRING" opt; do H) XBPS_ARG_HOSTDIR="$OPTARG"; XBPS_OPTIONS+=" -H $OPTARG";; h) usage && exit 0;; i) XBPS_ARG_INFORMATIVE_RUN=1; XBPS_OPTIONS+=" -i";; - I) XBPS_ARG_SKIP_DEPS=1; XBPS_OPTIONS+=" -I";; + I) XBPS_ARG_SKIP_DEPS=1 XBPS_SKIP_REMOTEREPOS=1; XBPS_OPTIONS+=" -I -N";; j) XBPS_ARG_MAKEJOBS="$OPTARG"; XBPS_OPTIONS+=" -j $OPTARG";; L) export NOCOLORS=1; XBPS_OPTIONS+=" -L";; m) XBPS_ARG_MASTERDIR="$OPTARG"; XBPS_OPTIONS+=" -m $OPTARG";;