Bug 106039 - sci-mathematics/gimps misplaced config files
Bug#: 106039 Product:  Gentoo Linux Version: 2005.1 Platform: All
OS/Version: Linux Status: RESOLVED Severity: minor Priority: P2
Resolution: FIXED Assigned To: spock@gentoo.org Reported By: bob5972@ucf.ics.uci.edu
Component: Ebuilds
URL: 
Summary: sci-mathematics/gimps misplaced config files
Keywords:  
Status Whiteboard: 
Opened: 2005-09-15 01:42 0000
Description:   Opened: 2005-09-15 01:42 0000
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 From Michal Januszewski 2005-09-17 09:23:38 0000 -------
Fixed in CVS, thanks :)