aboutsummaryrefslogtreecommitdiff
path: root/trunk/utils/searchpkg
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2009-08-30 20:53:15 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2009-08-30 20:53:15 +0000
commit632ec0d8518f1ee1b2af1eeae6a9d967dd26b16f (patch)
treee184d352ba2764561155b1ce3ab3cd343f5929e9 /trunk/utils/searchpkg
parent33da53d2d881d85cfdeb97910c16c71902749c58 (diff)
downloadsimplepkg-632ec0d8518f1ee1b2af1eeae6a9d967dd26b16f.tar.gz
simplepkg-632ec0d8518f1ee1b2af1eeae6a9d967dd26b16f.tar.bz2
Attempt to fix #94 and #95
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@811 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/utils/searchpkg')
-rwxr-xr-xtrunk/utils/searchpkg4
1 files changed, 2 insertions, 2 deletions
diff --git a/trunk/utils/searchpkg b/trunk/utils/searchpkg
index cc5a827..1986e00 100755
--- a/trunk/utils/searchpkg
+++ b/trunk/utils/searchpkg
@@ -30,7 +30,7 @@ FILELIST="$1/FILELIST.TXT"
PACKAGE_FIELD="8"
if [ -z "$2" ]; then
- grep .tgz $FILELIST
+ grep -E -e "$(pkg_ext_grep)" $FILELIST
else
- grep -e "$2" $FILELIST | grep tgz | awk "{ print \$$PACKAGE_FIELD }"
+ grep -e "$2" $FILELIST | grep -E -e "$(pkg_ext_grep)" | awk "{ print \$$PACKAGE_FIELD }"
fi