]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
createpkg: fixing remove_old_package_data
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Sun, 20 Sep 2009 13:38:39 +0000 (13:38 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Sun, 20 Sep 2009 13:38:39 +0000 (13:38 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@818 04377dda-e619-0410-9926-eae83683ac58

trunk/src/createpkg

index edb94c385e995b9638eb352d80e2baf4c6ec5163..cddf6ba19bcbfeb293b8109a31b89d7d0e3ecf9e 100644 (file)
@@ -428,7 +428,7 @@ function remove_old_package_data {
       cd $makepkg_repos
 
       # Using -mindepth 2 so it doesn't delete the new PACKAGE
-      for file in `eval find . -mindepth 2 $(pkg_ext_find $PACKAGE-*-*-*) -o -name "$PACKAGE-*-*-*.meta" -o -name "$PACKAGE-*-*-*.*.asc"`; do
+      for file in `find . -mindepth 2 -name "$PACKAGE-*-*-*.*"`; do
         candidate="`echo $file | sed -e 's/\.meta$/\.tgz/'`" # otherwise PACKAGE info functions can fail
         candidate="`echo $candidate | sed -e 's/\.asc$//'`" # otherwise PACKAGE info functions can fail
         # Just delete packages with different arch, version, build number or folder