diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2009-08-30 20:53:15 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2009-08-30 20:53:15 +0000 |
commit | 632ec0d8518f1ee1b2af1eeae6a9d967dd26b16f (patch) | |
tree | e184d352ba2764561155b1ce3ab3cd343f5929e9 /trunk/utils/repos | |
parent | 33da53d2d881d85cfdeb97910c16c71902749c58 (diff) | |
download | simplepkg-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/repos')
-rwxr-xr-x | trunk/utils/repos | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/trunk/utils/repos b/trunk/utils/repos index e4a17ee..57ecdff 100755 --- a/trunk/utils/repos +++ b/trunk/utils/repos @@ -30,7 +30,7 @@ function usage { function do_all { - for pkg in `find . -type f -name '*.tgz' -print`; do + for pkg in `find . -type f $(pkg_ext_find) -print`; do gen_meta $pkg done $0 PACKAGESTXT @@ -55,8 +55,8 @@ case "$1" in do_all ;; new) - for pkg in `find . -type f -name '*.tgz' -print`; do - if [ ! -f ${pkg%tgz}meta ]; then + for pkg in `find . -type f $(pkg_ext_find) -print`; do + if [ ! -f $(strip_pkg_ext $pkg).meta ]; then gen_meta $pkg fi done |