diff options
author | Thomas Bächler <thomas@archlinux.org> | 2007-09-15 00:57:54 +0200 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2007-09-15 00:57:54 +0200 |
commit | 9292c7fd2e84315975110e7966434c5614aa605f (patch) | |
tree | ca9195e37b78ed898566248d3ab57a85e7682528 | |
parent | a1d4355f6cae8275d4da6ee39f52095909cf11a0 (diff) | |
download | dbscripts-9292c7fd2e84315975110e7966434c5614aa605f.tar.gz dbscripts-9292c7fd2e84315975110e7966434c5614aa605f.tar.xz |
fixed genpkglist
-rwxr-xr-x | genpkglist | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |