Oops, that didnt work
This commit is contained in:
parent
f401e7af94
commit
68ed6baba7
@ -34,7 +34,7 @@ precmd_kernel_info() {
|
||||
if [[ ${OS_ID} == "arch" ]] || [[ ${OS_ID_LIKE} == "arch" ]]; then
|
||||
# Arch Linux removes the old kernel when updating, so we can
|
||||
# just check to see if /usr/lib/modules/$(uname -r)/vmlinuz exists
|
||||
if [[ -f /usr/lib/modules/$(uname -r)/vmlinuz ]]; then
|
||||
if ! [[ -f /usr/lib/modules/$(uname -r)/vmlinuz ]]; then
|
||||
# kernel update available
|
||||
kernel_info_msg_0_="%F{red} reboot required %f"
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user