fixed hyphenated pkg issue

This commit is contained in:
Eric Lay 2020-07-29 16:37:41 -05:00
parent d2c5aba037
commit 219a6fe392
1 changed files with 1 additions and 1 deletions

2
fpf
View File

@ -91,7 +91,7 @@ Orphans() {
# Update the files database # Update the files database
UpdateInfos UpdateInfos
# Test for AUR option, if not run with pacman # Test for AUR option, if not run with pacman
if [[ ! "$1" =~ "-" ]]; then if [[ ! "$1" =~ "\\s-\\w" ]]; then
Official "$1" Official "$1"
else else
for opt in "$@"; do for opt in "$@"; do