From 0bc8d791464e7629fd469bd18d7295b6490692aa Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Tue, 7 Nov 2023 09:41:59 -0600 Subject: [PATCH] use column in get-updates script --- home/private_bin/executable_get-updates | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/home/private_bin/executable_get-updates b/home/private_bin/executable_get-updates index 6e3abe0..d743265 100644 --- a/home/private_bin/executable_get-updates +++ b/home/private_bin/executable_get-updates @@ -51,7 +51,6 @@ for opt in "$@"; do -*) echo "Invalid option: $opt" usage - exit 1 ;; esac done @@ -59,9 +58,9 @@ done echo "fetching updates..." echo -updates_arch="$(checkupdates 2>/dev/null | awk '{print $1}')" -updates_aur="$(paru -Qua 2>/dev/null | awk '{print $1}')" -updates_info="$(updates_output $notify)" +updates_arch="$(checkupdates 2>/dev/null | awk '{print $1}' | column)" +updates_aur="$(paru -Qua 2>/dev/null | awk '{print $1}' | column)" +updates_info="$(updates_output "$notify")" if [[ -z $updates_info ]]; then echo "system up to date"