[Pkg-xfce-commits] r4877 - scripts/pbuilder
Yves-Alexis Perez
corsac at alioth.debian.org
Sat Feb 5 10:25:22 UTC 2011
Author: corsac
Date: 2011-02-05 10:25:21 +0000 (Sat, 05 Feb 2011)
New Revision: 4877
Added:
scripts/pbuilder/dupload.sh
Log:
script to mass upload packages to one host
Added: scripts/pbuilder/dupload.sh
===================================================================
--- scripts/pbuilder/dupload.sh (rev 0)
+++ scripts/pbuilder/dupload.sh 2011-02-05 10:25:21 UTC (rev 4877)
@@ -0,0 +1,27 @@
+#! /bin/bash
+# © 2006,2011 Yves-Alexis Perez <corsac at debian.org>
+# Released under GPLv2
+# Mass upload package to some host (please check the packages are correct
+# *before* running this script)
+set -x
+
+# Config
+host=${HOST:-ftp-master}
+verbose=${VERBOSE:-1}
+dir=${DIR:-$PWD/xfce/build-sid-amd64-trunk}
+
+pushd $dir
+for package in $(grep -L PGP *changes)
+do
+ debsign $package
+done
+for package in *changes
+do
+ if [ "$verbose" ];
+ then
+ echo "Are you sure you want to upload $package to $host? Y/n"
+ read answer
+ [ "$answer" ] && [ "$answer" = 'n' ] && continue
+ dput $host $package
+ fi
+done
Property changes on: scripts/pbuilder/dupload.sh
___________________________________________________________________
Added: svn:executable
+ *
More information about the Pkg-xfce-commits
mailing list