Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/db-update
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-15 13:57:54 +0200
committerErich Eckner <git@eckner.net>2018-05-15 13:57:54 +0200
commit429656ed252e596f8c4e32216a7314f6172c4e48 (patch)
tree86fa68218e9632d82454802edeee28bc185f74de /bin/db-update
parent1a1f676cb7e77334b85c27db23be75d5ca8f1909 (diff)
bin/db-update,bin/delete-packages,bin/get-package-updates -b|--block -> -w|--wait to unitise flags
Diffstat (limited to 'bin/db-update')
-rwxr-xr-xbin/db-update14
1 files changed, 7 insertions, 7 deletions
diff --git a/bin/db-update b/bin/db-update
index a2555fe..b6fd116 100755
--- a/bin/db-update
+++ b/bin/db-update
@@ -30,8 +30,6 @@ usage() {
>&2 echo ' move possible packages from staging to testing.'
>&2 echo ''
>&2 echo 'possible options:'
- >&2 echo ' -b|--block:'
- >&2 echo ' If necessary, wait for lock blocking.'
>&2 echo ' -f|--force $package-id:'
>&2 echo ' Force movement of Package with given id and move nothing else.'
>&2 echo ' -h|--help:'
@@ -42,16 +40,18 @@ usage() {
>&2 echo ' Move forward any package which replaces no package whose'
>&2 echo ' dependencies are all available somewhere.'
>&2 echo ' Note, that this _may_ move _less_ packages.'
+ >&2 echo ' -w|--wait:'
+ >&2 echo ' If necessary, wait for lock blocking.'
[ -z "$1" ] && exit 1 || exit "$1"
}
eval set -- "$(
- getopt -o bf:hnp \
- --long block \
+ getopt -o f:hnpw \
--long force \
--long help \
--long no-action \
--long progressive \
+ --long wait \
-n "$(basename "$0")" -- "$@" || \
echo usage
)"
@@ -64,9 +64,6 @@ force_ids=''
while true
do
case "$1" in
- -b|--block)
- block_flag=''
- ;;
-f|--force)
shift
force_ids=$(
@@ -84,6 +81,9 @@ do
-p|--progressive)
progressive=true
;;
+ -w|--wait)
+ block_flag=''
+ ;;
--)
shift
break