Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/libs/perlmods
In directory vz-cvs-3.sog:/tmp/cvs-serv18325/libs/perlmods

Modified Files:
        dbi-pm.info perlqt-pm.info 
Log Message:
have to do update-alternatives --remove in _Pre_RmScript (not _Post_RmScript) 
because u-a cannot remove an alternative file after that file has been 
uninstalled


Index: dbi-pm.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/stable/main/finkinfo/libs/perlmods/dbi-pm.info,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- dbi-pm.info 20 Oct 2011 04:40:51 -0000      1.12
+++ dbi-pm.info 3 Apr 2012 15:55:02 -0000       1.13
@@ -1,7 +1,7 @@
 Info2: <<
 Package: dbi-pm%type_pkg[perl]
 Version: 1.611
-Revision: 3
+Revision: 4
 Epoch: 1
 Architecture: (%type_pkg[perl] = 581) powerpc, (%type_pkg[perl] = 584) powerpc
 Distribution: (%type_pkg[perl] = 581) 10.4, (%type_pkg[perl] = 584) 10.4, 
(%type_pkg[perl] = 586) 10.4, (%type_pkg[perl] = 586) 10.5, (%type_pkg[perl] = 
5100) 10.5, (%type_pkg[perl] = 5100) 10.6, (%type_pkg[perl] = 5123) 10.7, 
(%type_pkg[perl] = 588) 10.4, (%type_pkg[perl] = 588) 10.5, (%type_pkg[perl] = 
588) 10.6
@@ -91,7 +91,7 @@
                done
        fi
 <<
-PostRmScript: <<
+PreRmScript: <<
        if [ "$1" = "remove" ]; then
                for bin in dbilogstrip dbiprof dbiproxy; do
                        update-alternatives --remove "$bin" 
"%p/bin/$bin-%type_raw[perl]"

Index: perlqt-pm.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/stable/main/finkinfo/libs/perlmods/perlqt-pm.info,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- perlqt-pm.info      22 Oct 2011 18:37:46 -0000      1.13
+++ perlqt-pm.info      3 Apr 2012 15:55:02 -0000       1.14
@@ -1,7 +1,7 @@
 Info2: <<
 Package: perlqt-pm%type_pkg[perl]
 Version: 3.009
-Revision: 1034
+Revision: 1035
 Architecture: (%type_pkg[perl] = 581) powerpc, (%type_pkg[perl] = 584) powerpc
 Distribution: (%type_pkg[perl] = 581) 10.4, (%type_pkg[perl] = 584) 10.4, 
(%type_pkg[perl] = 586) 10.4, (%type_pkg[perl] = 586) 10.5, (%type_pkg[perl] = 
5100) 10.5, (%type_pkg[perl] = 5100) 10.6, (%type_pkg[perl] = 5123) 10.7, 
(%type_pkg[perl] = 588) 10.4, (%type_pkg[perl] = 588) 10.5, (%type_pkg[perl] = 
588) 10.6
 Description: Qt language bindings for Perl
@@ -137,20 +137,24 @@
 DocFiles: AUTHORS COPYING ChangeLog INSTALL README TODO
 
 PostInstScript: <<
+       if [ "$1" = "configure" ]; then
        for file in pqtapi pqtsh puic; do
                update-alternatives --install %p/bin/$file $file 
%p/bin/$file-%type_raw[perl] %type_pkg[perl]
        done
        for file in puic; do
                update-alternatives --install %p/share/man/man1/$file.1 $file.1 
%p/share/man/man1/$file.1-%type_raw[perl] %type_pkg[perl]
        done
+       fi
 <<
-PostRmScript: <<
+PreRmScript: <<
+       if [ "$1" = "remove" ]; then
        for file in pqtapi pqtsh puic; do
                update-alternatives --remove $file %p/bin/$file-%type_raw[perl]
        done
        for file in puic; do
                update-alternatives --remove $file.1 
%p/share/man/man1/$file.1-%type_raw[perl]
        done
+       fi
 <<
 
 DescDetail: <<


------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to