aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2009-09-20 13:38:39 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2009-09-20 13:38:39 +0000
commit0942c122dd82c93b83a7315972ca1db6d077f6ba (patch)
tree54077b984f439dabdd36e215505b3d2effa72b0d
parent09df0edd0eb794870beca12e055fcfbd98764c06 (diff)
downloadsimplepkg-0942c122dd82c93b83a7315972ca1db6d077f6ba.tar.gz
simplepkg-0942c122dd82c93b83a7315972ca1db6d077f6ba.tar.bz2
createpkg: fixing remove_old_package_data
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@818 04377dda-e619-0410-9926-eae83683ac58
-rw-r--r--trunk/src/createpkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/trunk/src/createpkg b/trunk/src/createpkg
index edb94c3..cddf6ba 100644
--- a/trunk/src/createpkg
+++ b/trunk/src/createpkg
@@ -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