diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2023-12-28 13:41:29 +0000 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2023-12-28 13:41:29 +0000 |
commit | 8fabc92bb726f9a8b824379ba0b0721bfd52fc01 (patch) | |
tree | 2770cb3fab55a77b571d5d1090abaee5a495ee6b | |
parent | 3fc30f5b4d03344f3c1860ed005428a75ccc939a (diff) |
fix: newline char after cli finish
-rwxr-xr-x | home/xyz/.local/bin/upd | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/home/xyz/.local/bin/upd b/home/xyz/.local/bin/upd index 69c7cf8a..1549e636 100755 --- a/home/xyz/.local/bin/upd +++ b/home/xyz/.local/bin/upd @@ -41,7 +41,8 @@ updated pacman packages: $pacpacs updated aur packages: $aurpacs pacdiff: $(pacdiff -o | tr '\n' ' ') checkrebuild: $(checkrebuild) -$(if echo "$pacpacs" | grep -q 'linux-[0-9]'; then echo 'kernel upgraded, need reboot'; fi)" +$(if echo "$pacpacs" | grep -q 'linux-[0-9]'; then echo 'kernel upgraded, need reboot'; fi) +" } qb () { |