diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2008-11-28 03:36:57 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2008-11-28 03:36:57 +0000 |
commit | 21c21e0474237ddf55c816b1c9179547ac75e09f (patch) | |
tree | 0add65dc30651ff0be8007fc8da9b23f79abb399 /trunk/src | |
parent | 0e18ac2dcf22eed6214a61357bc4349cf9a31b19 (diff) | |
download | simplepkg-21c21e0474237ddf55c816b1c9179547ac75e09f.tar.gz simplepkg-21c21e0474237ddf55c816b1c9179547ac75e09f.tar.bz2 |
fix
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@584 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/src')
-rw-r--r-- | trunk/src/createpkg | 6 |
1 files changed, 4 insertions, 2 deletions
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 |