FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux Development

 
 
LinkBack Thread Tools
 
Old 04-15-2011, 08:45 PM
Eric Bélanger
 
Default commitpkg: clean up svn after changing arch from any to i686/x86_64

Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com>
---
commitpkg | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)

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
--
1.7.4.4
 

Thread Tools




All times are GMT. The time now is 07:45 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org