This one is trivial: it simply adds two convenience scripts for moving
-any packages from testing to {core,extra}.
F

>From 14a34d696a1c7aac6838b2fc0940e94e2195c935 Mon Sep 17 00:00:00 2001
From: Francois Charette <[email protected]>
Date: Tue, 15 Sep 2009 08:40:37 +0200
Subject: [PATCH] added testing2...-any scripts
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 testing2core-any  |   11 +++++++++++
 testing2extra-any |   11 +++++++++++
 2 files changed, 22 insertions(+), 0 deletions(-)
 create mode 100755 testing2core-any
 create mode 100755 testing2extra-any

diff --git a/testing2core-any b/testing2core-any
new file mode 100755
index 0000000..a0993e8
--- /dev/null
+++ b/testing2core-any
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+if [ $# -le 0 ]; then
+    echo "usage: $(basename 0) <packagename> [<packagename> [<packagename ...]]"
+    exit 0
+fi
+
+for pkg in $@; do
+    echo "==> Moving package '$pkg'"
+    $(dirname $0)/db-move "$pkg" "testing" "core" "any"
+done
diff --git a/testing2extra-any b/testing2extra-any
new file mode 100755
index 0000000..46ab2f0
--- /dev/null
+++ b/testing2extra-any
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+if [ $# -le 0 ]; then
+    echo "usage: $(basename 0) <packagename> [<packagename> [<packagename ...]]"
+    exit 0
+fi
+
+for pkg in $@; do
+    echo "==> Moving package '$pkg'"
+    $(dirname $0)/db-move "$pkg" "testing" "extra" "any"
+done
-- 
1.6.4.3


Reply via email to