use column in get-updates script
This commit is contained in:
parent
ec98c87205
commit
0bc8d79146
1 changed files with 3 additions and 4 deletions
|
@ -51,7 +51,6 @@ for opt in "$@"; do
|
||||||
-*)
|
-*)
|
||||||
echo "Invalid option: $opt"
|
echo "Invalid option: $opt"
|
||||||
usage
|
usage
|
||||||
exit 1
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
@ -59,9 +58,9 @@ done
|
||||||
echo "fetching updates..."
|
echo "fetching updates..."
|
||||||
echo
|
echo
|
||||||
|
|
||||||
updates_arch="$(checkupdates 2>/dev/null | awk '{print $1}')"
|
updates_arch="$(checkupdates 2>/dev/null | awk '{print $1}' | column)"
|
||||||
updates_aur="$(paru -Qua 2>/dev/null | awk '{print $1}')"
|
updates_aur="$(paru -Qua 2>/dev/null | awk '{print $1}' | column)"
|
||||||
updates_info="$(updates_output $notify)"
|
updates_info="$(updates_output "$notify")"
|
||||||
|
|
||||||
if [[ -z $updates_info ]]; then
|
if [[ -z $updates_info ]]; then
|
||||||
echo "system up to date"
|
echo "system up to date"
|
||||||
|
|
Loading…
Reference in a new issue