Update of /cvsroot/fink/3rdparty/dpkg/fink
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv22975/fink

Modified Files:
        dpkg.info 
Log Message:
touch status, diversions, and available

Index: dpkg.info
===================================================================
RCS file: /cvsroot/fink/3rdparty/dpkg/fink/dpkg.info,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- dpkg.info   6 Feb 2007 18:06:43 -0000       1.11
+++ dpkg.info   6 Feb 2007 18:12:08 -0000       1.12
@@ -55,11 +55,15 @@
        rm -rf %i/lib/dpkg/methods/*
 <<
 
+PreInstScript: <<
+<<
 PostInstScript: <<
-if [ ! -f %p/var/lib/dpkg/diversions ]; then
-  touch %p/var/lib/dpkg/diversions
-  chmod 644 %p/var/lib/dpkg/diversions
-fi
+       for file in diversions status available; do
+               if [ ! -f %p/var/lib/dpkg/$file ]; then
+                       touch %p/var/lib/dpkg/$file
+                       chmod 644 %p/var/lib/dpkg/$file
+               fi
+       done
 <<
 
 Homepage: http://packages.qa.debian.org/d/dpkg.html


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to