John, could you use "cp -p" in base-files-profile.sh?
The postinstall exim.sh uses the non-existence of /etc/exim.conf as the sign that it's a fresh installation. That test doesn't work right if it happens to run after base-files-profile.sh, because it creates /etc/exim.conf from /etc/defaults/etc Being able to compare dates would greatly help. Otherwise base-files-profile.sh looks fine. Thanks Pierre At 05:57 PM 8/14/2004 +0100, John Morrison wrote: >Base-files >Change: >3.0-1 > * Fix for security interactions when using cp - Thanks to > Pierre A. Humblet > * Added several open source license files. These were sourced > from http://www.opensource.org/licenses/ > Packages may contain minor variations on these files. > * Added a preremove script to help keep the various scripts > uptodate (unless they've been modified). > * At Igor Pechtchanski's suggestion, all base-file scripts > are now versioned. > * Several patches, thanks to all. Now I'm keeping this > changelog I'll be sure to add names! Appologies to all who > helped with this version. > > ****************************************************** > * * > * NOTE: if you want the automatic update script to * > * keep files up to date, you *must* delete the * > * following files and then reinstall the * > * base-files package; * > * /etc/bash.bashrc * > * /etc/DIR_COLORS * > * /etc/profile * > * /etc/skel/.bashrc * > * /etc/skel/.bash_profile * > * /etc/skel/.inputrc * > * * > ****************************************************** > ><http://homepage.ntlworld.com/j-n-s.morrison/john/cygwin/base-files/base-fi les-3.0-1.tar.bz2> ><http://homepage.ntlworld.com/j-n-s.morrison/john/cygwin/base-files/md5sum> ><http://homepage.ntlworld.com/j-n-s.morrison/john/cygwin/base-files/setup.hi >nt> > >Base-passwd >Change: chmod 777 /etc/[group|passwd] when created > ><http://homepage.ntlworld.com/j-n-s.morrison/john/cygwin/base-passwd/base-pa >sswd-2.1-1.tar.bz2> ><http://homepage.ntlworld.com/j-n-s.morrison/john/cygwin/base-passwd/md5sum> ><http://homepage.ntlworld.com/j-n-s.morrison/john/cygwin/base-passwd/setup.h >int> > >Let me know if there are any issues :) > >J. > >