File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -467,7 +467,7 @@ while IFS= read "${read_args[@]}" -ru "$fd" path; do
467467 continue
468468 else
469469 # shellcheck disable=SC2086
470- ${AUR_BUILD_SYNC:- aur build--sync} " ${sync_args[@]} " -d " $db_name "
470+ ${AUR_BUILD_SYNC:- aur build--sync} " ${sync_args[@]} " -d " $db_name " --sysupgrade
471471 fi
472472done
473473
Original file line number Diff line number Diff line change @@ -46,14 +46,14 @@ wait_lock() {
4646}
4747
4848# option parsing
49- opt_short=' d:n '
50- opt_long=(' database:' ' config:' ' noconfirm' )
49+ opt_short=' d:nu '
50+ opt_long=(' database:' ' config:' ' noconfirm' ' sysupgrade ' )
5151orig_argv=(" $@ " )
5252
5353if opts=$( getopt -o " $opt_short " -l " $( args_csv " ${opt_long[@]} " ) " -n " $argv0 " -- " $@ " ) ; then
5454 eval set -- " $opts "
5555else
56- printf >&2 ' usage: %s [-n ] [-d database]... -- [pkgname...]\n' " $argv0 "
56+ printf >&2 ' usage: %s [-nu ] [-d database]... -- [pkgname...]\n' " $argv0 "
5757 exit 1
5858fi
5959
@@ -65,6 +65,8 @@ while true; do
6565 shift ; pacman_conf=$1 ;;
6666 -n|--noconfirm)
6767 confirm=0 ;;
68+ -u|--sysupgrade)
69+ sync_args+=(--sysupgrade) ;;
6870 --) shift ; break ;;
6971 esac
7072 shift
You can’t perform that action at this time.
0 commit comments