diff options
author | Michael Meskes <meskes@debian.org> | 2009-12-05 17:19:33 +0100 |
---|---|---|
committer | Michael Meskes <meskes@debian.org> | 2009-12-05 17:19:33 +0100 |
commit | ed284ab371b9b111b6e232f9b1f1fe6ead273fc9 (patch) | |
tree | 8f0c12b348655ff823cca51b3e988536ad6b8cb8 | |
parent | 42df9a3f949636f07bd4905b5e44a27c3b70447a (diff) | |
download | virtualbox-ed284ab371b9b111b6e232f9b1f1fe6ead273fc9.tar.gz |
Check for right package in postinst.
Closes: #559502
-rw-r--r-- | debian/virtualbox-ose-dkms.postinst | 2 | ||||
-rw-r--r-- | debian/virtualbox-ose-guest-dkms.postinst | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/debian/virtualbox-ose-dkms.postinst b/debian/virtualbox-ose-dkms.postinst index c2850b270..0efd90c1d 100644 --- a/debian/virtualbox-ose-dkms.postinst +++ b/debian/virtualbox-ose-dkms.postinst @@ -8,7 +8,7 @@ set -e # automatic modules installation depends on dkms being available [ -x /usr/sbin/dkms ] || exit 0 -CVERSION=`dpkg-query -W -f='${Version}' virtualbox-ose-source | awk -F "-" '{print $1}' | cut -d\: -f2` +CVERSION=`dpkg-query -W -f='${Version}' virtualbox-ose-dkms | awk -F "-" '{print $1}' | cut -d\: -f2` case "$1" in configure) diff --git a/debian/virtualbox-ose-guest-dkms.postinst b/debian/virtualbox-ose-guest-dkms.postinst index c709e3848..0f5c46426 100644 --- a/debian/virtualbox-ose-guest-dkms.postinst +++ b/debian/virtualbox-ose-guest-dkms.postinst @@ -8,7 +8,7 @@ set -e # automatic modules installation depends on dkms being available [ -x /usr/sbin/dkms ] || exit 0 -CVERSION=`dpkg-query -W -f='${Version}' virtualbox-ose-guest-source | awk -F "-" '{print $1}' | cut -d\: -f2` +CVERSION=`dpkg-query -W -f='${Version}' virtualbox-ose-guest-dkms | awk -F "-" '{print $1}' | cut -d\: -f2` case "$1" in configure) |