From 39ae6e23d6c3686d836effe0d4bc53eab4f3bf79 Mon Sep 17 00:00:00 2001 From: Eric Bélanger Date: Fri, 15 Apr 2011 16:45:46 -0400 Subject: commitpkg: clean up svn after changing arch from any to i686/x86_64 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Eric Bélanger Signed-off-by: Pierre Schmitz --- commitpkg | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/commitpkg b/commitpkg index c57213b..7d533a0 100755 --- a/commitpkg +++ b/commitpkg @@ -160,4 +160,13 @@ if [ "${arch[*]}" == 'any' ]; then echo 'done' popd >/dev/null fi +else + if [ -d ../repos/$repo-any ]; then + pushd ../repos/ >/dev/null + echo "removing $repo-any..." + svn rm $repo-any + svn commit -q -m "removed $repo-any for $pkgname" + echo 'done' + popd >/dev/null + fi fi -- cgit v1.2.3-70-g09d2