FS#58276 - [gnucash] Please add /etc/gnucash/environment to backup() list

Attached to Project: Community Packages
Opened by AMM (amish) - Thursday, 19 April 2018, 16:06 GMT
Last edited by Balló György (City-busz) - Thursday, 19 April 2018, 22:04 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Any modifications made to /etc/gnucash/environment gets lost on upgrade

Example: LANG or LANGUAGE variables

Additional info:
* package version(s)
3.0-5

* config and/or log files etc.
/etc/gnucash/environment

Steps to reproduce:
Make changes to /etc/gnucash/environment and update gnucash.
Changes gets lost.

Solution:
To keep modified copy - add etc/gnucash/environment to backup() array in PKGBUILD
This task depends upon

Closed by  Balló György (City-busz)
Thursday, 19 April 2018, 22:04 GMT
Reason for closing:  Not a bug
Comment by Balló György (City-busz) - Thursday, 19 April 2018, 20:10 GMT
If you read the file '/etc/gnucash/environment', you can see this comment:
"The contents of this file is overwritten with each gnucash update. If you want to add your own variables to the environment or wish to override what gets set in this file please create a new file named "environment.local" next to this one with the same structure."

So you should create the file '/etc/gnucash/environment.local' instead of modify '/etc/gnucash/environment'.

Loading...