Fetch correct dkms version from deban package in post install

This commit is contained in:
Simon Fels 2017-02-23 19:13:18 +01:00
commit 564707b4ec
2 changed files with 8 additions and 2 deletions

View file

@ -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