From b56d5da7e193974a97f109832b930a284f5a456b Mon Sep 17 00:00:00 2001 From: layman Date: Sat, 3 Jun 2023 13:51:15 +0200 Subject: [PATCH] gentooup.sh: add exclude option --- gentooup.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gentooup.sh b/gentooup.sh index da9c027..387fa3f 100755 --- a/gentooup.sh +++ b/gentooup.sh @@ -69,6 +69,12 @@ while [[ $# -gt 0 ]]; do shift echo "emerge binary only: $BINARY_ONLY" ;; + --exclude) + shift + echo "excluding: $1" + PORTAGE_OPTIONS+=("--exclude" "$1") + shift + ;; --batch) echo "We do not ask questions" PORTAGE_ASK=""