summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcontrib/bacman.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/bacman.in b/contrib/bacman.in
index 96360911..c55d7161 100755
--- a/contrib/bacman.in
+++ b/contrib/bacman.in
@@ -93,7 +93,7 @@ pkg_dest="${PKGDEST:-$PWD}"
pkg_pkger=${PACKAGER:-'Unknown Packager'}
pkg_name="$1"
-pkg_dir=("$pac_db/$pkg_name"-+([^-])-+([0-9]))
+pkg_dir=("$pac_db/$pkg_name"-+([^-])-+([^-]))
pkg_namver=("${pkg_dir[@]##*/}")
#