FS#6238 - ncmpc, mistaken sysconfdir

Attached to Project: Arch Linux
Opened by Giorgio Lando (patroclo7) - Saturday, 20 January 2007, 15:50 GMT
Last edited by Roman Kyrylych (Romashka) - Tuesday, 23 January 2007, 10:22 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Damir Perisa (damir.perisa)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


In the PKGBUILD for ncmpc, the following option is passed to configure: --sysconfdir=/etc/$PKGNAME . But ncmpmc (as you can see from the man page) reads the system config file from the path $SYSCONFDIR/ncmpc/. So, in the arch installation, ncmpc actually looks for /etc/ncmpc/ncmpc/config and /etc/ncmpc/ncmpc/key, but this is not the intended behaviour (also the sample configs are installed in /etc/ncmpc).
This can be fixed replacing the above option with: --sysconfdir=/etc
This task depends upon

Closed by  Damir Perisa (damir.perisa)
Wednesday, 24 January 2007, 23:15 GMT
Reason for closing:  Fixed
Additional comments about closing:  didn't realise this - thanx for discoveringand reporting