Skip to content

Commit 2ae6901

Browse files
committed
dkms: Add another status line variant to split module and version
Affects: #344 Signed-off-by: Kai Krakow <kai@kaishome.de>
1 parent 685a3c0 commit 2ae6901

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/installer.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ DKMS_BIN=$(type -p dkms)
3131
: ${DKMS_BIN:?Please install dkms to continue}
3232

3333
get_dkms_versions_installed() {
34-
${DKMS_BIN} status | tr -s ':, ' ' ' | awk -- '$1 == "hid-xpadneo" { print $2 }' | sort -nu
34+
${DKMS_BIN} status | tr -s ':,/ ' ' ' | awk -- '$1 == "hid-xpadneo" { print $2 }' | sort -nu
3535
}
3636

3737
get_upstream_version_latest() {

0 commit comments

Comments
 (0)