[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r868 - glibc-package/branches/glibc-2.3.4/debian/debhelper.in



Author: gotom
Date: 2005-03-29 08:36:07 +0000 (Tue, 29 Mar 2005)
New Revision: 868

Added:
   glibc-package/branches/glibc-2.3.4/debian/debhelper.in/libc-otherbuild.postrm
Log:
    * Fix libc6 installation breakage when old libc6 and libc6-i686 was
      installed, and it's replaced with a new libc6.  This fix is limited
      for i686 optimized package, not for sparc multiple opt packages.
      (Closes: #300806, #300842)
      - debian/debhelper.in/libc-otherbuild.postrm: Added to remove
        unneeded ld.so.nohwcap for single optimized package.



Added: glibc-package/branches/glibc-2.3.4/debian/debhelper.in/libc-otherbuild.postrm
===================================================================
--- glibc-package/branches/glibc-2.3.4/debian/debhelper.in/libc-otherbuild.postrm	2005-03-27 14:53:57 UTC (rev 867)
+++ glibc-package/branches/glibc-2.3.4/debian/debhelper.in/libc-otherbuild.postrm	2005-03-29 08:36:07 UTC (rev 868)
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "remove" ]; then
+    if [ -f /etc/ld.so.nohwcap ] && [ ! -s /etc/ld.so.nohwcap ]; then
+	rm -f /etc/ld.so.nohwcap
+    fi
+fi
+
+#DEBHELPER#
+
+exit 0



Reply to: