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

Andreas Beckmann anbe-guest at alioth.debian.org
Fri Aug 26 07:21:33 UTC 2011


Author: anbe-guest
Date: 2011-08-26 07:21:33 +0000 (Fri, 26 Aug 2011)
New Revision: 745

Added:
   fglrx-driver/trunk/debian/fglrx-atieventsd.maintscript
   fglrx-driver/trunk/debian/fglrx-atieventsd.postinst
Removed:
   fglrx-driver/trunk/debian/fglrx-driver.maintscript
Modified:
   fglrx-driver/trunk/debian/control
Log:
let the correct package clean up the init script

Modified: fglrx-driver/trunk/debian/control
===================================================================
--- fglrx-driver/trunk/debian/control	2011-08-25 08:09:18 UTC (rev 744)
+++ fglrx-driver/trunk/debian/control	2011-08-26 07:21:33 UTC (rev 745)
@@ -136,6 +136,8 @@
 
 Package: fglrx-atieventsd
 Architecture: i386 amd64
+Pre-Depends:
+ dpkg (>= 1.15.7.2),
 Depends:
  ${misc:Depends},
  ${shlibs:Depends},

Copied: fglrx-driver/trunk/debian/fglrx-atieventsd.maintscript (from rev 744, fglrx-driver/trunk/debian/fglrx-driver.maintscript)
===================================================================
--- fglrx-driver/trunk/debian/fglrx-atieventsd.maintscript	                        (rev 0)
+++ fglrx-driver/trunk/debian/fglrx-atieventsd.maintscript	2011-08-26 07:21:33 UTC (rev 745)
@@ -0,0 +1 @@
+rm_conffile /etc/init.d/fglrx-driver 1:11-8-2~

Added: fglrx-driver/trunk/debian/fglrx-atieventsd.postinst
===================================================================
--- fglrx-driver/trunk/debian/fglrx-atieventsd.postinst	                        (rev 0)
+++ fglrx-driver/trunk/debian/fglrx-atieventsd.postinst	2011-08-26 07:21:33 UTC (rev 745)
@@ -0,0 +1,12 @@
+#!/bin/sh
+set -e
+
+if [ "$1" = "configure" ]; then
+
+	if dpkg --compare-versions "$2" lt-nl 1:11-8-2 ; then
+		update-rc.d fglrx-driver remove || true
+	fi
+
+fi
+
+#DEBHELPER#

Deleted: fglrx-driver/trunk/debian/fglrx-driver.maintscript
===================================================================
--- fglrx-driver/trunk/debian/fglrx-driver.maintscript	2011-08-25 08:09:18 UTC (rev 744)
+++ fglrx-driver/trunk/debian/fglrx-driver.maintscript	2011-08-26 07:21:33 UTC (rev 745)
@@ -1 +0,0 @@
-rm_conffile /etc/init.d/fglrx-driver 1:11-8-2~




More information about the Pkg-fglrx-devel mailing list