slack-autoupdate

Update your Slackware system automatically
Log | Files | Refs | README

commit dd9ecacb0824c0c9699170caf32c7a9ad88a054a
parent 7f8b00fbffcb89c6168962df797413956d2e62bc
Author: Slack Coder <slackcoder@server.ky>
Date:   Tue, 26 Mar 2024 09:00:00 -0500

fixup! Fix kernel update

Diffstat:
Msrc/install-kernel | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/install-kernel b/src/install-kernel @@ -6,7 +6,7 @@ # The /boot/vmlinuz softlink points to the last installed kernel. KERNEL_VERSION="$(realpath /boot/vmlinuz | sed 's/.*\/.*-\(.*\)/\1/')" if [ "$1" ]; then - KERNEL_VERSION="$(echo "$1" | sed 's/.*\/.*-\(.*\)/\1/')" + KERNEL_VERSION="$(realpath "$1" | sed 's/.*\/.*-\(.*\)/\1/')" fi if [ -z "$KERNEL_VERSION" ]; then