From: Chris Koeritz Date: Wed, 17 Dec 2025 17:11:21 +0000 (-0500) Subject: corrected error in seeking packages X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fdev;p=feisty_meow.git corrected error in seeking packages was inadvertently using a grep character set match instead of the literal thing in brackets. oops. dang. --- diff --git a/scripts/system/seek_package.sh b/scripts/system/seek_package.sh index 3ee874fb..5fa92aba 100644 --- a/scripts/system/seek_package.sh +++ b/scripts/system/seek_package.sh @@ -4,11 +4,11 @@ source "$FEISTY_MEOW_SCRIPTS/core/functions.sh" if [ -z "$*" ]; then echo This script requires a package name to find in the installed list of packages. - exit 1 + exit 2 fi if debian_like; then - apt -qq list "$1" 2>/dev/null | grep -q '[installed]' + apt -qq list "$1" 2>/dev/null | grep -q '\[installed\]' exit $? fi