From 337bb905ae5dc59f1fb02687d416e1b7a947ebf3 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Wed, 17 Dec 2025 12:11:21 -0500 Subject: [PATCH] corrected error in seeking packages was inadvertently using a grep character set match instead of the literal thing in brackets. oops. dang. --- scripts/system/seek_package.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.34.1