[pacman-dev] [PATCH] bacman: pkgrel does not have to be an integer

lolilolicon lolilolicon at gmail.com
Wed Oct 19 23:35:00 EDT 2011


pkgrel, as with pkgver, simply mustn't contain hyphens.

Signed-off-by: lolilolicon <lolilolicon at gmail.com>
---
 contrib/bacman.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/contrib/bacman.in b/contrib/bacman.in
index 9636091..c55d716 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[@]##*/}")
 
 #
-- 
1.7.6.4



More information about the pacman-dev mailing list