From 2ae6901c4ab3a53023e72abdfd1b8078d1b57b56 Mon Sep 17 00:00:00 2001 From: Kai Krakow Date: Wed, 25 May 2022 21:45:37 +0200 Subject: [PATCH] dkms: Add another status line variant to split module and version Affects: https://github.com/atar-axis/xpadneo/issues/344 Signed-off-by: Kai Krakow --- lib/installer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/installer.sh b/lib/installer.sh index 6adc5f87..8b793e9f 100644 --- a/lib/installer.sh +++ b/lib/installer.sh @@ -31,7 +31,7 @@ DKMS_BIN=$(type -p dkms) : ${DKMS_BIN:?Please install dkms to continue} get_dkms_versions_installed() { - ${DKMS_BIN} status | tr -s ':, ' ' ' | awk -- '$1 == "hid-xpadneo" { print $2 }' | sort -nu + ${DKMS_BIN} status | tr -s ':,/ ' ' ' | awk -- '$1 == "hid-xpadneo" { print $2 }' | sort -nu } get_upstream_version_latest() {