Update of /cvsroot/fink/dpkg-base-files
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv31752

Modified Files:
        ChangeLog postinst.in 
Log Message:
now we can find the .la list


Index: postinst.in
===================================================================
RCS file: /cvsroot/fink/dpkg-base-files/postinst.in,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- postinst.in 20 Dec 2009 08:08:37 -0000      1.3
+++ postinst.in 20 Dec 2009 08:38:54 -0000      1.4
@@ -10,15 +10,13 @@
 . @PREFIX@/bin/init.sh
 
 echo "postinst for package '$1'"
+pkg=$1
 shift;
-    for x in $@; do
-       echo "  '$x'"
-    done
 
 if [ "$2" = "configure" ]; then
-    echo "phase 'configure': would clean up .la files being installed"
-    for x in $@; do
-       echo "  '$x'"
+    echo "configuring $pkg: would clean up .la files being installed:"
+    for lafile in `grep '\.la$' "/sw/var/lib/dpkg/info/$pkg.list"`; do
+       echo "    $lafile"
     done
 fi
 

Index: ChangeLog
===================================================================
RCS file: /cvsroot/fink/dpkg-base-files/ChangeLog,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- ChangeLog   20 Dec 2009 08:08:37 -0000      1.10
+++ ChangeLog   20 Dec 2009 08:38:54 -0000      1.11
@@ -1,5 +1,9 @@
 2009-12-19  Daniel Macks  <dma...@netspace.org>
 
+       * postinst.in: figure out the being-installed list of .la
+
+2009-12-19  Daniel Macks  <dma...@netspace.org>
+
        * dpkg-base-files.info.in, preinst.in, postinst.in, prerm.in,
        postrm.in: dpkg now passes %n as first CLI parameter
 


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to