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

Modified Files:
        libnewt0-shlibs.info 
Log Message:
  * Ensure unowned files get removed on purge.( %p/etc/newt/palette).


Index: libnewt0-shlibs.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.7/stable/main/finkinfo/libs/libnewt0-shlibs.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- libnewt0-shlibs.info        28 May 2013 20:41:48 -0000      1.1
+++ libnewt0-shlibs.info        17 Jun 2013 19:48:42 -0000      1.2
@@ -1,6 +1,6 @@
 Package: libnewt0-shlibs
 Version: 0.52.15
-Revision: 1.1
+Revision: 2.1
 ###
 Source: mirror:debian:pool/main/n/newt/newt_%v.orig.tar.gz
 Source-MD5: 343ee3a0fd0eacdb7c508a1e1cfabf65
@@ -103,6 +103,13 @@
         ;;
 esac
 <<
+PreRmScript: <<
+set -e
+
+if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
+       update-alternatives --remove-all newt-palette
+fi
+<<
 ConfFiles: %p/etc/newt/palette.original
 DocFiles: CHANGES COPYING
 Description: Not Erik's Windowing Toolkit


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to