From d6d90d708f465e16409d6c763a2e6fb85cf2e5cc Mon Sep 17 00:00:00 2001 From: zen0bit Date: Mon, 6 May 2024 11:40:56 +0200 Subject: [PATCH] Useless cat --- modules/database.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/database.am b/modules/database.am index e19040ce5..7a9fe4f1d 100644 --- a/modules/database.am +++ b/modules/database.am @@ -77,7 +77,7 @@ function generate_3rd_party() { app_status=$(echo -e " STATUS: INSTALLED, ABOUT $disk_usage MB OF DISK SPACE IN USE\n VERSION: $app_version") fi printf '%s\n' "$app_status" - cat "$AMPATH/$arch-apps" | grep "◆ $arg : " | cut -d':' -f2- | sed 's/^./\n /' | sed 's# SOURCE:#\n\n SOURCE:#g' + grep "◆ $arg : " < "$AMPATH/$arch-apps" | cut -d':' -f2- | sed 's/^./\n /' | sed 's# SOURCE:#\n\n SOURCE:#g' printf '\n%-55s\n' else printf ' "%s" IS NOT A VALID ARGUMENT\n' "$package_name"