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;