Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/libs
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv6925

Modified Files:
        libnewt0-shlibs.info 
Log Message:
  * Fix handling of alternatives for %p/etc/newt/palette in M-A package
    libnewt0.52. CLoses: #718635


Index: libnewt0-shlibs.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.7/stable/main/finkinfo/libs/libnewt0-shlibs.info,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- libnewt0-shlibs.info        17 Jun 2013 19:48:42 -0000      1.2
+++ libnewt0-shlibs.info        20 Sep 2013 14:48:24 -0000      1.3
@@ -1,6 +1,6 @@
 Package: libnewt0-shlibs
 Version: 0.52.15
-Revision: 2.1
+Revision: 3.1
 ###
 Source: mirror:debian:pool/main/n/newt/newt_%v.orig.tar.gz
 Source-MD5: 343ee3a0fd0eacdb7c508a1e1cfabf65
@@ -97,9 +97,19 @@
 set -e
 
 case "$1" in
-    configure)
-       # Install alternatives
-       update-alternatives --install %p/etc/newt/palette newt-palette 
%p/etc/newt/palette.original 20
+    configure|abort-remove|abort-deconfigure)
+        # Install alternatives
+        update-alternatives --install %p/etc/newt/palette newt-palette 
%p/etc/newt/palette.original 20
+        [ -e %p/share/doc/libnewt0-shlibs ] || update-alternatives --auto 
newt-palette
+        ;;
+    abort-upgrade)
+        # Nothing to undo
+        :;
+        ;;
+
+    *)
+        echo "$0: Undocumented call: \"$@\"" >&2
+        exit 1
         ;;
 esac
 <<


------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to