[pkg-nvidia-devel] r1321 - in /packages/nvidia-graphics-drivers-legacy-71xx/trunk/debian: libgl1-nvidia-dev.postinst nvidia-glx-legacy-71xx-dev.postrm
anbe-guest at users.alioth.debian.org
anbe-guest at users.alioth.debian.org
Tue Jul 6 07:30:12 UTC 2010
Author: anbe-guest
Date: Tue Jul 6 07:30:06 2010
New Revision: 1321
URL: http://svn.debian.org/wsvn/pkg-nvidia/?sc=1&rev=1321
Log:
cleanup the libGL.a diversions
Added:
packages/nvidia-graphics-drivers-legacy-71xx/trunk/debian/libgl1-nvidia-dev.postinst
- copied, changed from r1320, packages/nvidia-graphics-drivers-legacy-71xx/trunk/debian/nvidia-glx-legacy-71xx-dev.postrm
Removed:
packages/nvidia-graphics-drivers-legacy-71xx/trunk/debian/nvidia-glx-legacy-71xx-dev.postrm
Copied: packages/nvidia-graphics-drivers-legacy-71xx/trunk/debian/libgl1-nvidia-dev.postinst (from r1320, packages/nvidia-graphics-drivers-legacy-71xx/trunk/debian/nvidia-glx-legacy-71xx-dev.postrm)
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-graphics-drivers-legacy-71xx/trunk/debian/libgl1-nvidia-dev.postinst?rev=1321&op=diff
==============================================================================
--- packages/nvidia-graphics-drivers-legacy-71xx/trunk/debian/nvidia-glx-legacy-71xx-dev.postrm (original)
+++ packages/nvidia-graphics-drivers-legacy-71xx/trunk/debian/libgl1-nvidia-dev.postinst Tue Jul 6 07:30:06 2010
@@ -1,37 +1,20 @@
#! /bin/sh
-# postrm script for nvidia-glx
-#
-# see: dh_installdeb(1)
-
set -e
-case "$1" in
- remove)
+if [ "$1" = "configure" ]
+then
+ # <target: squeeze>
+ # remove obsolete diversions from nvidia-glx-legacy-71xx-dev
dpkg-divert --remove --rename --package nvidia-glx-legacy-71xx-dev --divert /usr/lib/nvidia/libGL.a.xlibmesa /usr/lib/libGL.a > /dev/null
dpkg-divert --remove --rename --package nvidia-glx-legacy-71xx-dev --divert /usr/X11R6/lib/nvidia/libGL.a.xlibmesa /usr/X11R6/lib/libGL.a > /dev/null
- if [ -d /usr/lib/nvidia/ ]; then
- rmdir /usr/lib/nvidia || true;
- fi
- if [ -d /usr/X11R6/lib/nvidia ]; then
- rmdir /usr/X11R6/lib/nvidia || true;
- fi
+ rmdir /usr/lib/nvidia /usr/X11R6/lib/nvidia 2>/dev/null || true
+ # </target: squeeze>
- ;;
-
- purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+fi
- ;;
+#DEBHELPER#
- *)
- echo "postrm called with unknown argument \`$1'" >&2
- exit 0
-
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
+exit 0
More information about the Pkg-nvidia-devel
mailing list