From 21c21e0474237ddf55c816b1c9179547ac75e09f Mon Sep 17 00:00:00 2001 From: rhatto Date: Fri, 28 Nov 2008 03:36:57 +0000 Subject: fix git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@584 04377dda-e619-0410-9926-eae83683ac58 --- trunk/src/createpkg | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'trunk/src') diff --git a/trunk/src/createpkg b/trunk/src/createpkg index 70bc4d5..2a381f4 100644 --- a/trunk/src/createpkg +++ b/trunk/src/createpkg @@ -580,8 +580,6 @@ if [ $REMOVE_OLD_PACKAGE -eq $on ]; then cd $cwd - svn_remove_empty_folders . - else # Using -mindepth 2 so it doesn't delete the new package find $MAKEPKG_REPOS -mindepth 2 -name "$PACKAGE-*-*-*.tgz" -o -name "$PACKAGE-*-*-*.meta" -exec rm {} 2>/dev/null \; @@ -589,6 +587,10 @@ if [ $REMOVE_OLD_PACKAGE -eq $on ]; then fi fi + +# General cleanup +svn_remove_empty_folders $MAKEPKG_REPOS + # Move package to SlackBuilds-like tree if [ $MOVE_BIN_PACKAGE -eq $on ]; then -- cgit v1.2.3