From 4a0f0bdece95e09326cc16096d4b2e3fe2478b15 Mon Sep 17 00:00:00 2001 From: Michal Vasilek 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 806c6480f21c..086a0fe212fc 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";;