summaryrefslogtreecommitdiffstats
path: root/completions/pkgutil
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-17 14:57:16 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-17 14:57:16 +0000
commit839f2a19145079d32e1d0ab5a0f31f9cd7c3afdf (patch)
treee8091b85221c46641c1a902e9e19ca72fd0d002f /completions/pkgutil
parentAdding upstream version 1:2.13.0. (diff)
downloadbash-completion-upstream.tar.xz
bash-completion-upstream.zip
Adding upstream version 1:2.14.0.upstream/1%2.14.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'completions/pkgutil')
-rw-r--r--completions/pkgutil3
1 files changed, 3 insertions, 0 deletions
diff --git a/completions/pkgutil b/completions/pkgutil
index 63dc400..0b2e4ec 100644
--- a/completions/pkgutil
+++ b/completions/pkgutil
@@ -1,6 +1,9 @@
# pkgutil completion -*- shell-script -*-
# Copyright 2006 Yann Rouillard <yann@opencsw.org>
+# At least macOS pkgutil is different
+[[ $OSTYPE == *solaris* ]] || return 1
+
_comp_cmd_pkgutil__url2catalog()
{
local filename="$1"