diff --git a/home/private_bin/executable_get-updates b/home/private_bin/executable_get-updates index 5e79fc1..dc7deab 100644 --- a/home/private_bin/executable_get-updates +++ b/home/private_bin/executable_get-updates @@ -13,28 +13,28 @@ HELP } header() { - echo "=============" + echo "=============" } updates_output() { notify=$1 if ! [[ -z $updates_arch ]]; then - header + header echo "ARCH: $(echo "$updates_arch" | wc -l)" - header + header [[ -z $notify ]] && echo "$updates_arch" fi if ! [[ -z $updates_aur ]]; then - header + header echo "AUR: $(echo "$updates_aur" | wc -l)" - header + header [[ -z $notify ]] && echo "$updates_aur" fi echo } update_system() { - echo + echo read -p "Would you like to update? (y/N): " confirm && [[ $confirm == [yY] || $confirm == [yY][eE][sS] ]] || exit 1 pikaur -Syu --noedit --nodiff }