[Pkg-fglrx-devel] r341 - fglrx-driver/trunk/debian

Patrick Matthäi pmatthaei at alioth.debian.org
Sun Nov 22 16:36:25 UTC 2009


Author: pmatthaei
Date: 2009-11-22 16:36:24 +0000 (Sun, 22 Nov 2009)
New Revision: 341

Modified:
   fglrx-driver/trunk/debian/changelog
   fglrx-driver/trunk/debian/fglrx-modules-dkms.postinst
Log:
* Applied patch from Daniel Schaal, which only adds the fglrx module for one
  time to dkms.
  Closes: #557316


Modified: fglrx-driver/trunk/debian/changelog
===================================================================
--- fglrx-driver/trunk/debian/changelog	2009-11-18 10:26:41 UTC (rev 340)
+++ fglrx-driver/trunk/debian/changelog	2009-11-22 16:36:24 UTC (rev 341)
@@ -1,3 +1,11 @@
+fglrx-driver (1:9-11-2) UNRELEASED; urgency=low
+
+  * Applied patch from Daniel Schaal, which only adds the fglrx module for one
+    time to dkms.
+    Closes: #557316
+
+ -- Patrick Matthäi <pmatthaei at debian.org>  Sun, 22 Nov 2009 17:35:03 +0100
+
 fglrx-driver (1:9-11-1) unstable; urgency=low
 
   * New upstream release.

Modified: fglrx-driver/trunk/debian/fglrx-modules-dkms.postinst
===================================================================
--- fglrx-driver/trunk/debian/fglrx-modules-dkms.postinst	2009-11-18 10:26:41 UTC (rev 340)
+++ fglrx-driver/trunk/debian/fglrx-modules-dkms.postinst	2009-11-22 16:36:24 UTC (rev 341)
@@ -7,8 +7,12 @@
 version=`dpkg-query -W -f='${Version}' "$package" \
 	|rev|cut -d- -f2-|rev|cut -d':' -f2|tr -d "\n"`
 
-dkms add -m fglrx -v "$version"
+isadded=`dkms status -m fglrx -v "$version"`
 
+if [ "x${isadded}" = "x" ] ; then
+	dkms add -m fglrx -v "$version"
+fi
+
 if [ "$1" = 'configure' ] ; then
 	dkms build -m fglrx -v "$version"
 	dkms install -m fglrx -v "$version" --force




More information about the Pkg-fglrx-devel mailing list