Skip to content

Commit

Permalink
Change flag order
Browse files Browse the repository at this point in the history
I doesn't change anything AFAIK, but it feels better
  • Loading branch information
Antiz96 committed Mar 21, 2024
1 parent 72d863e commit 64d253c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/script/arch-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,9 @@ list_packages() {

if [ -n "${aur_helper}" ]; then
if [ -z "${no_version}" ]; then
aur_packages=$("${aur_helper}" "${devel_flag[@]}" -Qua)
aur_packages=$("${aur_helper}" -Qua "${devel_flag[@]}")
else
aur_packages=$("${aur_helper}" "${devel_flag[@]}" -Qua | awk '{print $1}')
aur_packages=$("${aur_helper}" -Qua "${devel_flag[@]}" | awk '{print $1}')
fi
fi

Expand Down Expand Up @@ -375,7 +375,7 @@ update() {
echo
main_msg "$(eval_gettext "Updating AUR Packages...\n")"

if ! "${aur_helper}" "${devel_flag[@]}" -Syu; then
if ! "${aur_helper}" -Syu "${devel_flag[@]}"; then
icon_updates_available
echo
error_msg "$(eval_gettext "An error has occurred during the update process\nThe update has been aborted\n")" && quit_msg
Expand Down

0 comments on commit 64d253c

Please sign in to comment.