9 Jul
2007
9 Jul
'07
1:13 a.m.
On Jul 8, 2007, at 14:53, Simon Ruderich wrote:
is it possible to prevent the complete removal of all configured/compiled data if the Portfile was changed. I'm just updating configuration parameters but port completely removes the project data and starts again.
I think you're saying that you have a port that installs a configuration file, and that you've then changed the configuration file, and when you upgrade the port, your changes to the configuration file are lost. The solution is for the port to install a *sample* configuration file, and for the user to manually copy the sample to the real configuration file name when configuring. See the apache2 portfile's httpd.conf.sample for an example.