setup preremove postremove
John Morrison
john.r.morrison@ntlworld.com
Sat Jun 5 10:14:00 GMT 2004
Hi everyone
Sorry if this post should have gone elsewhere (I'm sure somebody
will correct it ;)
I'm museing about trying to get /etc/profile to update
itself. What I'm currently debating is a script which runs
before the new files are installed which compares
/etc/profile with /etc/defaults/etc/profile and, if they are
identical, deletes /etc/profile (and possibly doing the same
for all the other files in the base-files package).
My question is this, where should the script reside; preremove
or postremove? What's the difference? How can any script
in postremove run when setup should have removed all files
for a package? Does either/both get run for a package
update?
:)
Thanks,
J.
More information about the Cygwin-apps
mailing list