diff options
author | Aurelien Foret <aurelien@archlinux.org> | 2006-02-07 19:29:32 +0100 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2006-02-07 19:29:32 +0100 |
commit | 7fbbab643584d5fad0f3bca6cd9ff6e418f7225e (patch) | |
tree | a22b1cfce1e15681fd5c5784ff26b731a5f9c0c4 /scripts/makeworld | |
parent | 8d2ad843bbc4b35338a217b2e4b4f7f86c3f420e (diff) | |
download | pacman-7fbbab643584d5fad0f3bca6cd9ff6e418f7225e.tar.gz pacman-7fbbab643584d5fad0f3bca6cd9ff6e418f7225e.tar.xz |
synchro with pacman 2.9.8
Diffstat (limited to 'scripts/makeworld')
-rwxr-xr-x | scripts/makeworld | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/scripts/makeworld b/scripts/makeworld index 34e4a43c..f9a58f25 100755 --- a/scripts/makeworld +++ b/scripts/makeworld @@ -2,7 +2,7 @@ # # makeworld # -# Copyright (c) 2002-2005 by Judd Vinet <jvinet@zeroflux.org> +# Copyright (c) 2002-2006 by Judd Vinet <jvinet@zeroflux.org> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -20,13 +20,15 @@ # USA. # -version="2.9.7" +version="2.9.8" toplevel=`pwd` usage() { echo "makeworld version $version" - echo "usage: $0 [options] <destdir> <category> [category] ..." - echo "options:" + echo + echo "Usage: $0 [options] <destdir> <category> [category] ..." + echo + echo "Options:" echo " -b, --builddeps Build missing dependencies from source" echo " -c, --clean Clean up work files after build" echo " -d, --nodeps Skip all dependency checks" @@ -37,10 +39,15 @@ usage() { echo " -s, --syncdeps Install missing dependencies with pacman" echo " -S, --sudosync Install missing dependencies with pacman and sudo" echo - echo " where <category> is one or more directory names under the ABS root" - echo " eg: makeworld -c /packages base lib editors" + echo "These options can be passed to pacman:" + echo + echo " --noconfirm Do not ask for confirmation when resolving dependencies" + echo " --noprogressbar Do not show a progress bar when downloading files" + echo + echo "Where <category> is one or more directory names under the ABS root" + echo "eg: makeworld -c /packages base lib editors" echo - echo " this should be run from the toplevel directory of ABS (usually /var/abs)" + echo "This should be run from the toplevel directory of ABS (usually /var/abs)" } if [ $# -lt 2 ]; then @@ -51,6 +58,10 @@ fi MAKEPKG_OPTS= for arg in $*; do case $arg in +# pacman + --noconfirm) MAKEPKG_OPTS="$MAKEPKG_OPTS --noconfirm" ;; + --noprogressbar) MAKEPKG_OPTS="$MAKEPKG_OPTS --noprogressbar" ;; +# makepkg --clean) MAKEPKG_OPTS="$MAKEPKG_OPTS -c" ;; --install) MAKEPKG_OPTS="$MAKEPKG_OPTS -i" ;; --syncdeps) MAKEPKG_OPTS="$MAKEPKG_OPTS -s" ;; |