mirror of
https://github.com/moparisthebest/pacman
synced 2025-01-09 13:07:58 -05:00
synchro with pacman 2.9.8
This commit is contained in:
parent
8d2ad843bb
commit
7fbbab6435
@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# makeworld
|
# 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
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
@ -20,13 +20,15 @@
|
|||||||
# USA.
|
# USA.
|
||||||
#
|
#
|
||||||
|
|
||||||
version="2.9.7"
|
version="2.9.8"
|
||||||
toplevel=`pwd`
|
toplevel=`pwd`
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
echo "makeworld version $version"
|
echo "makeworld version $version"
|
||||||
echo "usage: $0 [options] <destdir> <category> [category] ..."
|
echo
|
||||||
echo "options:"
|
echo "Usage: $0 [options] <destdir> <category> [category] ..."
|
||||||
|
echo
|
||||||
|
echo "Options:"
|
||||||
echo " -b, --builddeps Build missing dependencies from source"
|
echo " -b, --builddeps Build missing dependencies from source"
|
||||||
echo " -c, --clean Clean up work files after build"
|
echo " -c, --clean Clean up work files after build"
|
||||||
echo " -d, --nodeps Skip all dependency checks"
|
echo " -d, --nodeps Skip all dependency checks"
|
||||||
@ -37,10 +39,15 @@ usage() {
|
|||||||
echo " -s, --syncdeps Install missing dependencies with pacman"
|
echo " -s, --syncdeps Install missing dependencies with pacman"
|
||||||
echo " -S, --sudosync Install missing dependencies with pacman and sudo"
|
echo " -S, --sudosync Install missing dependencies with pacman and sudo"
|
||||||
echo
|
echo
|
||||||
echo " where <category> is one or more directory names under the ABS root"
|
echo "These options can be passed to pacman:"
|
||||||
echo " eg: makeworld -c /packages base lib editors"
|
|
||||||
echo
|
echo
|
||||||
echo " this should be run from the toplevel directory of ABS (usually /var/abs)"
|
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)"
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ $# -lt 2 ]; then
|
if [ $# -lt 2 ]; then
|
||||||
@ -51,6 +58,10 @@ fi
|
|||||||
MAKEPKG_OPTS=
|
MAKEPKG_OPTS=
|
||||||
for arg in $*; do
|
for arg in $*; do
|
||||||
case $arg in
|
case $arg in
|
||||||
|
# pacman
|
||||||
|
--noconfirm) MAKEPKG_OPTS="$MAKEPKG_OPTS --noconfirm" ;;
|
||||||
|
--noprogressbar) MAKEPKG_OPTS="$MAKEPKG_OPTS --noprogressbar" ;;
|
||||||
|
# makepkg
|
||||||
--clean) MAKEPKG_OPTS="$MAKEPKG_OPTS -c" ;;
|
--clean) MAKEPKG_OPTS="$MAKEPKG_OPTS -c" ;;
|
||||||
--install) MAKEPKG_OPTS="$MAKEPKG_OPTS -i" ;;
|
--install) MAKEPKG_OPTS="$MAKEPKG_OPTS -i" ;;
|
||||||
--syncdeps) MAKEPKG_OPTS="$MAKEPKG_OPTS -s" ;;
|
--syncdeps) MAKEPKG_OPTS="$MAKEPKG_OPTS -s" ;;
|
||||||
|
Loading…
Reference in New Issue
Block a user