[Pkg-fglrx-devel] r1014 - fglrx-legacy-driver/trunk/debian

Andreas Beckmann anbe-guest at alioth.debian.org
Wed Aug 1 14:31:42 UTC 2012


Author: anbe-guest
Date: 2012-08-01 14:31:41 +0000 (Wed, 01 Aug 2012)
New Revision: 1014

Removed:
   fglrx-legacy-driver/trunk/debian/fglrx-atieventsd.postinst
   fglrx-legacy-driver/trunk/debian/fglrx-glx-ia32.postinst
Modified:
   fglrx-legacy-driver/trunk/debian/fglrx-driver.postinst
Log:
drop old cleanup code

Deleted: fglrx-legacy-driver/trunk/debian/fglrx-atieventsd.postinst
===================================================================
--- fglrx-legacy-driver/trunk/debian/fglrx-atieventsd.postinst	2012-08-01 12:52:55 UTC (rev 1013)
+++ fglrx-legacy-driver/trunk/debian/fglrx-atieventsd.postinst	2012-08-01 14:31:41 UTC (rev 1014)
@@ -1,12 +0,0 @@
-#!/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#

Modified: fglrx-legacy-driver/trunk/debian/fglrx-driver.postinst
===================================================================
--- fglrx-legacy-driver/trunk/debian/fglrx-driver.postinst	2012-08-01 12:52:55 UTC (rev 1013)
+++ fglrx-legacy-driver/trunk/debian/fglrx-driver.postinst	2012-08-01 14:31:41 UTC (rev 1014)
@@ -3,13 +3,4 @@
 
 . /usr/share/debconf/confmodule
 
-if [ "$1" = "configure" ]; then
-
-	if [ -f /usr/lib/fglrx/diversions/libdri.so ]; then
-		dpkg-divert --package fglrx-driver --rename --remove /usr/lib/xorg/modules/extensions/libdri.so || true
-	fi
-	rmdir /usr/lib/fglrx/diversions 2>/dev/null || true
-
-fi
-
 #DEBHELPER#

Deleted: fglrx-legacy-driver/trunk/debian/fglrx-glx-ia32.postinst
===================================================================
--- fglrx-legacy-driver/trunk/debian/fglrx-glx-ia32.postinst	2012-08-01 12:52:55 UTC (rev 1013)
+++ fglrx-legacy-driver/trunk/debian/fglrx-glx-ia32.postinst	2012-08-01 14:31:41 UTC (rev 1014)
@@ -1,29 +0,0 @@
-#!/bin/sh
-set -e
-
-if [ "$1" = "configure" ]; then
-
-	# <target: squeeze-backports>
-	# remove diversion created before the
-	# /emul/ia32-linux/usr/lib => /usr/lib32 transition
-	dpkg-divert --remove --rename --package fglrx-glx-ia32 --divert \
-		/emul/ia32-linux/usr/lib/fglrx/diversions/libGL.so.1 \
-		/emul/ia32-linux/usr/lib/libGL.so.1 > /dev/null
-	dpkg-divert --remove --rename --package fglrx-glx-ia32 --divert \
-		/emul/ia32-linux/usr/lib/fglrx/diversions/libGL.so.1.2 \
-		/emul/ia32-linux/usr/lib/libGL.so.1.2 > /dev/null
-
-	if [ -d /emul/ia32-linux/usr/lib/fglrx ]
-	then
-		rmdir /emul/ia32-linux/usr/lib/fglrx/diversions /emul/ia32-linux/usr/lib/fglrx || true;
-		rmdir /emul/ia32-linux/usr/lib /emul/ia32-linux/usr /emul/ia32-linux /emul 2>/dev/null || true
-	fi
-	# </target: squeeze-backports>
-
-	dpkg-divert --package fglrx-glx-ia32 --rename --remove /usr/lib32/libGL.so.1.2
-	dpkg-divert --package fglrx-glx-ia32 --rename --remove /usr/lib32/libGL.so.1
-	rmdir /usr/lib32/fglrx/diversions /usr/lib32/fglrx 2>/dev/null || true
-
-fi
-
-#DEBHELPER#




More information about the Pkg-fglrx-devel mailing list