summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2007-09-14 22:57:54 +0000
committerThomas Bächler <thomas@archlinux.org>2007-09-14 22:57:54 +0000
commit9292c7fd2e84315975110e7966434c5614aa605f (patch)
treeca9195e37b78ed898566248d3ab57a85e7682528
parenta1d4355f6cae8275d4da6ee39f52095909cf11a0 (diff)
fixed genpkglist
-rwxr-xr-xgenpkglist4
1 files changed, 2 insertions, 2 deletions
diff --git a/genpkglist b/genpkglist
index 79224d8..9207a2f 100755
--- a/genpkglist
+++ b/genpkglist
@@ -1,5 +1,5 @@
#!/bin/bash
-# $Id: genpkglist,v 1.15 2007/09/14 16:38:41 thomas Exp $
+# $Id: genpkglist,v 1.16 2007/09/14 22:57:54 thomas Exp $
#
# genpkglist
@@ -58,7 +58,7 @@ done
showdupes() {
done=
for i in *.pkg.tar.gz; do
- pkgname=${i%-*-*}
+ pkgname=$(getpkgname $i)
if [ "$pkgname" = "$1" ]; then
ls -l $i | awk '{print $6" "$7" "$8" "$9}'
done=1