Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106039 - sci-mathematics/gimps misplaced config files
Summary: sci-mathematics/gimps misplaced config files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-15 01:42 UTC by bob5972
Modified: 2005-09-17 09:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bob5972 2005-09-15 01:42:07 UTC
sci-mathematics/gimps

The program doesn't always use the correct config files or directories unless
explicitly told to.  The ebuild says to go

cd /var/lib/gimps && /opt/gimps/mprime

if you are not using the init scripts, but this doesn't actually work.
It uses /opt/gimps/mprime for its config folder unless you pass it the additional

/opt/gimps/mprime -w/var/lib/gimps

Steps to Reproduce:
emerge gimps
Start and stop the init script.
cd /var/lib/gimps
/opt/gimps/mprime -m
After changing something in the menus, two sets of config files are created, one
in /var/lib/gimps and one in /opt/gimps.

I symlinked the two sets files to be the same thing, until I discovered the -w
option.  It seems like the ebuild should create the symlinks itself or say that
the -w option is needed when not using the init scripts.
Comment 1 Michal Januszewski (RETIRED) gentoo-dev 2005-09-17 09:23:38 UTC
Fixed in CVS, thanks :)