[Pkg-fglrx-devel] r450 - fglrx-driver/trunk/debian
Patrick Matthäi
pmatthaei at alioth.debian.org
Fri Aug 27 16:40:19 UTC 2010
Author: pmatthaei
Date: 2010-08-27 16:40:13 +0000 (Fri, 27 Aug 2010)
New Revision: 450
Modified:
fglrx-driver/trunk/debian/fglrx-modules-dkms.postinst
Log:
Improve code, so that it only will build modules for correctly installed kernels.
Modified: fglrx-driver/trunk/debian/fglrx-modules-dkms.postinst
===================================================================
--- fglrx-driver/trunk/debian/fglrx-modules-dkms.postinst 2010-08-27 16:32:49 UTC (rev 449)
+++ fglrx-driver/trunk/debian/fglrx-modules-dkms.postinst 2010-08-27 16:40:13 UTC (rev 450)
@@ -14,7 +14,7 @@
fi
if [ "$1" = "configure" ] ; then
- dpkg -l | cut -d' ' -f3 | grep ^linux-image | cut -d- -f3- | while read kversion ; do
+ dpkg -l | grep ^ii | cut -d' ' -f3 | grep ^linux-image | cut -d- -f3- | while read kversion ; do
dkms build -m fglrx -v $version -k $kversion || true
dkms install -m fglrx -v $version -k $kversion --force || true
done
More information about the Pkg-fglrx-devel
mailing list