Update of /cvsroot/fink/experimental/dazjorz/finkinfo
In directory vz-cvs-3.sog:/tmp/cvs-serv29700
Modified Files:
dpkg.info
Log Message:
Correctly create statoverride and status file, not only diversions
Index: dpkg.info
===================================================================
RCS file: /cvsroot/fink/experimental/dazjorz/finkinfo/dpkg.info,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- dpkg.info 29 Dec 2011 22:35:52 -0000 1.7
+++ dpkg.info 23 Jun 2012 20:10:23 -0000 1.8
@@ -1,6 +1,6 @@
Package: dpkg
Version: 1.15.5.6
-Revision: 15
+Revision: 16
GCC: 4.0
BuildDepends: fink (>= 0.24.12), libgettext8-dev, gettext-tools
Conflicts: dpkg-bootstrap
@@ -161,10 +161,13 @@
<<
#
PostInstScript: <<
-if [ ! -f %p/var/lib/dpkg/diversions ]; then
- touch %p/var/lib/dpkg/diversions
- chmod 644 %p/var/lib/dpkg/diversions
-fi
+ admindir=%p/var/lib/dpkg
+ for file in diversions statoverride status; do
+ if [ ! -f "$admindir/$file" ]; then
+ touch "$admindir/$file"
+ chmod 644 "$admindir/$file"
+ fi
+ done
<<
License: GPL
Homepage: http://packages.qa.debian.org/d/dpkg.html
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs