[Pkg-xfce-commits] r3306 - scripts
Evgeni Golov
evgeni at alioth.debian.org
Thu Jun 11 08:22:50 UTC 2009
Author: evgeni
Date: 2009-06-11 08:22:50 +0000 (Thu, 11 Jun 2009)
New Revision: 3306
Added:
scripts/multidch.sh
Log:
add my multidch script, usefull for spamming pkg-xfce-commits :)
in other words: add the same changelog message to a whole bunch of packages
Added: scripts/multidch.sh
===================================================================
--- scripts/multidch.sh (rev 0)
+++ scripts/multidch.sh 2009-06-11 08:22:50 UTC (rev 3306)
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+# Author: Evgeni Golov <evgeni at debian.org>
+# License: 3-BSD
+# Usage: multidch.sh your message < /tmp/packagelist
+
+MSG="$@"
+
+DCH_NEW="dch --no-auto-nmu -i -D UNRELEASED"
+DCH_ADD="dch -a -t"
+
+while read p; do
+ echo $p
+ cd $p
+ if [ "$(dpkg-parsechangelog |grep ^Distribution |awk '{print $2}')" = "UNRELEASED" ]; then
+ $DCH_ADD $MSG
+ else
+ $DCH_NEW $MSG
+ fi
+ cd ..
+done
Property changes on: scripts/multidch.sh
___________________________________________________________________
Added: svn:executable
+ *
More information about the Pkg-xfce-commits
mailing list