summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2008-05-21 08:25:46 +0200
committerAaron Griffin <aaronmgriffin@gmail.com>2008-05-21 08:25:46 +0200
commit7fc8fedea48fccce0ceb31383061519754bdaa1d (patch)
treee96738d02e193c70ac3c2f54dbcee55231b206a5
parent39eb3c90a2c021dc750467360e07a6dadf7bcbb2 (diff)
downloaddbscripts-7fc8fedea48fccce0ceb31383061519754bdaa1d.tar.gz
dbscripts-7fc8fedea48fccce0ceb31383061519754bdaa1d.tar.xz
Remove arch from the testing2 scripts, add *64 version
Thanks Pierre for the suggestion. This is much more in line with the existing DB scripts Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-rwxr-xr-xtesting2core8
-rwxr-xr-xtesting2core6411
-rwxr-xr-xtesting2extra8
-rwxr-xr-xtesting2extra6411
4 files changed, 28 insertions, 10 deletions
diff --git a/testing2core b/testing2core
index 417ab0e..3a7acbf 100755
--- a/testing2core
+++ b/testing2core
@@ -1,13 +1,11 @@
#!/bin/bash
-if [ $# -le 1 ]; then
- echo "usage: $(basename 0) <arch> <packagename> [<packagename> [<packagename ...]]"
+if [ $# -le 0 ]; then
+ echo "usage: $(basename 0) <packagename> [<packagename> [<packagename ...]]"
exit 0
fi
-arch=$1; shift
-
for pkg in $@; do
echo "==> Moving package '$pkg'"
- $(dirname $0)/db-move "$pkg" "testing" "core" "$arch"
+ $(dirname $0)/db-move "$pkg" "testing" "core" "i686"
done
diff --git a/testing2core64 b/testing2core64
new file mode 100755
index 0000000..4d30036
--- /dev/null
+++ b/testing2core64
@@ -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" "x86_64"
+done
diff --git a/testing2extra b/testing2extra
index 7c6c87d..3be108e 100755
--- a/testing2extra
+++ b/testing2extra
@@ -1,13 +1,11 @@
#!/bin/bash
-if [ $# -le 1 ]; then
- echo "usage: $(basename 0) <arch> <packagename> [<packagename> [<packagename ...]]"
+if [ $# -le 0 ]; then
+ echo "usage: $(basename 0) <packagename> [<packagename> [<packagename ...]]"
exit 0
fi
-arch=$1; shift
-
for pkg in $@; do
echo "==> Moving package '$pkg'"
- $(dirname $0)/db-move "$pkg" "testing" "extra" "$arch"
+ $(dirname $0)/db-move "$pkg" "testing" "extra" "i686"
done
diff --git a/testing2extra64 b/testing2extra64
new file mode 100755
index 0000000..418876c
--- /dev/null
+++ b/testing2extra64
@@ -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" "x86_64"
+done