#8605: BUG: apache2 doesn't leave modified extra config files alone --------------------------------+------------------------------------------- Reporter: wyuenho@gmail.com | Owner: imajes@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: Resolution: | Keywords: --------------------------------+------------------------------------------- Comment (by jmr@macports.org): The squid port handles this by installing only *.conf.default, and creating *.conf in post-activate only if they don't already exist: {{{ post-activate { # Make sure initial conf files are present and setup correctly foreach f { squid.conf mime.conf } { if {![file exists ${prefix}/etc/squid/${f}]} { file copy ${prefix}/etc/squid/${f}.default \ ${prefix}/etc/squid/${f} } } } }}} -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/8605#comment:9> MacPorts </projects/macports> Ports system for Mac OS