Permalink
Browse files

Support modules with a _ in their name in mkdeb

  • Loading branch information...
superm1 committed Jul 12, 2011
1 parent d2333dc commit 0e43943d6a9b6f0c6fe07c8a6181ecd8dc544184
Showing with 2 additions and 1 deletion.
  1. +2 −1 template-dkms-mkdeb/debian/postinst
@@ -8,7 +8,8 @@ set -e
NAME=MODULE_NAME
PACKAGE_NAME=$NAME-dkms
CVERSION=`dpkg-query -W -f='${Version}' $PACKAGE_NAME | awk -F "-" '{print $1}' | cut -d\: -f2`
DEB_NAME=$(echo $PACKAGE_NAME | sed 's,_,-,')
CVERSION=`dpkg-query -W -f='${Version}' $DEB_NAME | awk -F "-" '{print $1}' | cut -d\: -f2`
ARCH=`dpkg --print-architecture`
dkms_configure () {

0 comments on commit 0e43943

Please sign in to comment.