Fetch correct dkms version from deban package in post install
This commit is contained in:
parent
b1a9dee78f
commit
564707b4ec
2 changed files with 8 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
NAME=anbox-modules-dkms
|
||||
VERSION=1
|
||||
VERSION=`dpkg-query -W -f='${Version}' $DEB_NAME | awk -F "-" '{print $1}' | cut -d\: -f2`
|
||||
|
||||
set -e
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue