diff options
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-05-21 06:33:12 +0200 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-05-21 06:33:12 +0200 |
commit | 8e2d2c6df75a992cf65ab24e7f97de9a9f04174c (patch) | |
tree | a2428e0aaf4ba2d06c1b59a54c8007cebe507ddd /testing2extra | |
parent | d2ce9d0893421cb35c62edad84bbadd1bf917d9e (diff) | |
download | dbscripts-8e2d2c6df75a992cf65ab24e7f97de9a9f04174c.tar.gz dbscripts-8e2d2c6df75a992cf65ab24e7f97de9a9f04174c.tar.xz |
Add db-move related scripts
Used to easilly move a package from one repo to another
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'testing2extra')
-rwxr-xr-x | testing2extra | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testing2extra b/testing2extra new file mode 100755 index 0000000..7c6c87d --- /dev/null +++ b/testing2extra @@ -0,0 +1,13 @@ +#!/bin/bash + +if [ $# -le 1 ]; then + echo "usage: $(basename 0) <arch> <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" +done |