fix: obtaining kernel version

The currently loaded kernel version is passed instead of the latest one awailable in the Arch repo.
This commit is contained in:
Alex Boner 2020-08-19 20:31:52 +02:00 committed by GitHub
parent 5bd64d32c0
commit d036438c77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
init
View file

@ -15,7 +15,7 @@ get_running_kernel_version () {
# Returns running kernel version
# Get running kernel version
kernel_version=$(LANG=C pacman -Qi linux | sed -n 's/^Version\s*: //p')
kernel_version=$(uname -r)
print "Current kernel version is $kernel_version"
}