From 3a69693600de7de91dd9b92f8f2c7807d05f87b1 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() {