Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xarchrelease6
1 files changed, 6 insertions, 0 deletions
diff --git a/archrelease b/archrelease
index f1fbb26..70845a6 100755
--- a/archrelease
+++ b/archrelease
@@ -23,6 +23,12 @@ fi
echo -n 'releasing package...'
pushd .. >/dev/null
+url=$(svn info | grep URL)
+url="${url##*URL: }"
+if [ -z "$(svn diff ${url}/trunk ${url}/repos/${1} 2>/dev/null)" -a $? -eq 0 ]; then
+ echo 'already done'
+ exit 1
+fi
if [ -d repos/$1 ]; then
svn rm --force -q repos/$1
svn commit -q -m "archrelease: remove $1"