Bug 256804 - misc/mc: stop wrecking customised config files
Summary: misc/mc: stop wrecking customised config files
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Alexey Dokuchaev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-24 11:48 UTC by ice
Modified: 2021-06-24 11:48 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (danfe)


Attachments
Prevent customised config from being overwritten (1.59 KB, patch)
2021-06-24 11:48 UTC, ice
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ice 2021-06-24 11:48:34 UTC
Created attachment 226030 [details]
Prevent customised config from being overwritten

Local changes made to configuration files in etc/mc/ are being wrecked on package update. This is not a very neighbourly thing to do.

The attached patch tags these files as @sample and installs them as such. I am not completely convinced this form is absolutely the correct approach, it however does seem to work as intended (both on deinstall and upgrade).