version indicator and anal
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
RUNNING_VERSION="$(uname -r | grep -o '[0-9]*\.[0-9]*\.[0-9]*-[0-9]*')"
|
||||
INSTALLED_VERSION="$(find /boot -maxdepth 0 -name 'vmlinuz*' | grep -o '[0-9]*\.[0-9]*\.[0-9]*-[0-9]*' | sort -r | head -1)"
|
||||
INSTALLED_VERSION="$(find /boot -maxdepth 0 -name 'vmlinuz*' | grep -o '[0-9]*\.[0-9]*\.[0-9]*-[0-9]*' | sort -Vr | head -1)"
|
||||
|
||||
#echo $RUNNING_VERSION
|
||||
#echo $INSTALLED_VERSION
|
||||
|
||||
Reference in New Issue
Block a user