Retro-actively adjust port's deinstall operations?
Adam Strohl
adams-freebsd at ateamsystems.com
Sun Jun 10 21:27:46 UTC 2012
On 6/11/2012 3:38, Chris Rees wrote:
> Actually if the older version doesn't install a .sample file (as it
> doesn't), you could put a big warning in for it:
>
> .include<bsd.port.pre.mk>
>
> .if exists(${PREFIX}/whateverconfigfile)&&
> !exists(${PREFIX}/whateverconfigfile.sample)
> IGNORE= Please see UPDATING note {date}
> .endif
Where/when would this trigger?
>
> Stick a note in UPDATING (perhaps like 20110815), and send a HEADSUP to ports@:
>
> BEFORE you deinstall couchdb, make sure you take a backup of
> default.ini, because the port will clobber it.
I'm assuming this was a typo but just in case: Its the local.ini file
that is the issue (and contains the overrides against default.ini as
well as the admin account usernames and password hashes).
>
> I've grabbed your PR and will investigate tomorrow.
Cool, thanks!
--
Adam Strohl
http://www.ateamsystems.com/
More information about the freebsd-ports
mailing list