From 64d253c79365a06b855c8b6fe9d2f100c71990fa Mon Sep 17 00:00:00 2001 From: Robin Candau Date: Fri, 22 Mar 2024 00:05:17 +0100 Subject: [PATCH] Change flag order I doesn't change anything AFAIK, but it feels better --- src/script/arch-update.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/script/arch-update.sh b/src/script/arch-update.sh index a3e8e422..c6d44618 100755 --- a/src/script/arch-update.sh +++ b/src/script/arch-update.sh @@ -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 @@ -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