diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/makeworld | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/makeworld b/scripts/makeworld index 7d4c762c..34e4a43c 100755 --- a/scripts/makeworld +++ b/scripts/makeworld @@ -35,6 +35,7 @@ usage() { echo " -h, --help This help" echo " -r, --rmdeps Remove installed dependencies after a successful build" 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" @@ -53,6 +54,7 @@ for arg in $*; do --clean) MAKEPKG_OPTS="$MAKEPKG_OPTS -c" ;; --install) MAKEPKG_OPTS="$MAKEPKG_OPTS -i" ;; --syncdeps) MAKEPKG_OPTS="$MAKEPKG_OPTS -s" ;; + --sudosync) MAKEPKG_OPTS="$MAKEPKG_OPTS -S" ;; --builddeps) MAKEPKG_OPTS="$MAKEPKG_OPTS -b" ;; --nodeps) MAKEPKG_OPTS="$MAKEPKG_OPTS -d" ;; --force) MAKEPKG_OPTS="$MAKEPKG_OPTS -f" ;; @@ -66,11 +68,12 @@ for arg in $*; do exit 1 ;; -*) - while getopts "chisbdfr-" opt; do + while getopts "chisSbdfr-" opt; do case $opt in c) MAKEPKG_OPTS="$MAKEPKG_OPTS -c" ;; i) MAKEPKG_OPTS="$MAKEPKG_OPTS -i" ;; s) MAKEPKG_OPTS="$MAKEPKG_OPTS -s" ;; + S) MAKEPKG_OPTS="$MAKEPKG_OPTS -S" ;; b) MAKEPKG_OPTS="$MAKEPKG_OPTS -b" ;; d) MAKEPKG_OPTS="$MAKEPKG_OPTS -d" ;; f) MAKEPKG_OPTS="$MAKEPKG_OPTS -f" ;; |