From 57e08787ef2aed2fd47639c1bebf8e2896cd2c03 Mon Sep 17 00:00:00 2001 From: David Lopez Jr <42970536+DLopezJr@users.noreply.github.com> Date: Fri, 17 Feb 2023 09:15:46 -0600 Subject: [PATCH] test -x not needed for flatpak --- fp.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fp.sh b/fp.sh index 2b8bf1b..8388743 100644 --- a/fp.sh +++ b/fp.sh @@ -7,7 +7,7 @@ app=$(flatpak list --app | cut -f2 | awk -F. -v app="$1" '(tolower($NF) ~ tolowe #FUNCTION(S) ##check if flatpak is installed and accesible to $PATH -test -x "$(command -v flatpak)" || printf "Flatpak package was not found.\n"; +command -v flatpak || printf "Flatpak package was not found.\n"; ##check if app name was entered by user test -z $1 && printf "Enter an app to fp.\n\$ fp \n\nINSTALLED APPS\n$app\n" && exit;