Opened 19 years ago

Last modified 20 months ago

#2365 new enhancement

Add support for non-volatile default conf files — at Initial Version

Reported by: jberry@… Owned by: macports-tickets@…
Priority: Normal Milestone: MacPorts Future
Component: base Version:
Keywords: Cc:
Port:

Description

It is useful to be able to install as part of a port certain files that will not be uninstalled or overwritten by subsequent installations or upgrades to the port.

This patch adds support for intallation at activation time of "default" files which will not be tracked as part of the installed port, and do not overwrite existing files of the same name.

The new option activate.copy_defaults accepts [multiple] pairs of src/dst file paths. At the tail of the activation phase, each src file is copied to its paired dst file iff dst doesn't already exist.

Change History (1)

Changed 19 years ago by jberry@…

Attachment: portactivate.tcl.diff added

Patch to base/src/port1.0/portactivate.tcl

Note: See TracTickets for help on using tickets.