gentooup.sh: add exclude option

This commit is contained in:
layman 2023-06-03 13:51:15 +02:00
parent 4e4dab39cd
commit b56d5da7e1

View file

@ -69,6 +69,12 @@ while [[ $# -gt 0 ]]; do
shift shift
echo "emerge binary only: $BINARY_ONLY" echo "emerge binary only: $BINARY_ONLY"
;; ;;
--exclude)
shift
echo "excluding: $1"
PORTAGE_OPTIONS+=("--exclude" "$1")
shift
;;
--batch) --batch)
echo "We do not ask questions" echo "We do not ask questions"
PORTAGE_ASK="" PORTAGE_ASK=""