xbps-src: let -I imply -N

don't synchronize repositories when not installing any packages
This commit is contained in:
Michal Vasilek 2021-05-17 21:15:11 +02:00 committed by Érico Nogueira Rolim
parent 57ede406ba
commit a58bd42f49
1 changed files with 1 additions and 1 deletions

View File

@ -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";;