diff options
Diffstat (limited to 'options.sh')
-rw-r--r-- | options.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/options.sh b/options.sh index 32ef0884d0da..00802b80bcdb 100644 --- a/options.sh +++ b/options.sh @@ -170,9 +170,10 @@ while [[ $# -gt 0 ]]; do ;; -i|--install) echo "Installing apps..." - while [[ $# -gt 1 ]]; do - echo "Installing $2..." - $aur_helper -S "$2" + shift + while [[ $# -gt 0 ]]; do + echo "Installing $1..." + $aur_helper -S "$1" --noconfirm shift done echo "Optimization complete!" |