diff options
| author | Mikhail Osipov <mike.osipov@gmail.com> | 2019-11-02 21:58:24 +0300 |
|---|---|---|
| committer | Mikhail Osipov <mike.osipov@gmail.com> | 2019-11-02 21:58:24 +0300 |
| commit | 67e57b207af80fa0383b3f97fe2ec505901c452d (patch) | |
| tree | 35c29c99c91e998d6beeea640f276b6d0a67f6d0 /sys.sh | |
| parent | 830c608b6ce85d02756d1a7162508ac07001886c (diff) | |
linux kernel version check fix again
Diffstat (limited to 'sys.sh')
| -rwxr-xr-x | sys.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -16,7 +16,7 @@ function cuteol { done } -INSTALLED=$(file /boot/vmlinuz-linux | grep -o "[0-9a-z.-]\+-ARCH") +INSTALLED=$(file /boot/vmlinuz-linux | sed -n "s/^.*version \([^ ]\+\) .*$/\1/p") CURRENT=$(uname -r) KERNEL=$(echo $CURRENT | cut -d- -f1) |
