diff options
author | lolilolicon <lolilolicon@gmail.com> | 2011-10-20 11:35:00 +0800 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-10-21 12:31:24 -0500 |
commit | d6e3446e70bcda9c0f28d80110d588106daa4b5c (patch) | |
tree | bd3f89296d35ecd0670e18d85459c085f781eac9 /contrib/bacman.in | |
parent | 20a47aba8ec859e920bf965ab7da74c26a44339d (diff) | |
download | pacman-d6e3446e70bcda9c0f28d80110d588106daa4b5c.tar.xz |
bacman: pkgrel does not have to be an integer
pkgrel, as with pkgver, simply mustn't contain hyphens.
Signed-off-by: lolilolicon <lolilolicon@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'contrib/bacman.in')
-rwxr-xr-x | contrib/bacman.in | 2 |
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[@]##*/}") # |