diff options
-rwxr-xr-x | testing2core | 8 | ||||
-rwxr-xr-x | testing2core64 | 11 | ||||
-rwxr-xr-x | testing2extra | 8 | ||||
-rwxr-xr-x | testing2extra64 | 11 |
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 |