Skip to content

Commit

Permalink
dkms: Add another status line variant to split module and version
Browse files Browse the repository at this point in the history
Affects: #344
Signed-off-by: Kai Krakow <[email protected]>
  • Loading branch information
kakra committed May 26, 2022
1 parent 685a3c0 commit 2ae6901
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 2ae6901

Please sign in to comment.