mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-25 16:02:33 +01:00
Configure: Rename setting DEFSDATADIR to PKGCONFDIR
Directory /etc/WindowMaker is for global defaults configuration, it is not a "data" folder which is $PREFIX/share/WindowMaker. The name change make it more consistent with other names.
This commit is contained in:
committed by
Carlos R. Mafra
parent
85169642ca
commit
24f5b32469
@@ -1017,7 +1017,7 @@ Bool UpdateDomainFile(WDDomain * domain)
|
||||
dict = domain->dictionary;
|
||||
if (WMIsPLDictionary(domain->dictionary)) {
|
||||
/* retrieve global system dictionary */
|
||||
snprintf(path, sizeof(path), "%s/%s", DEFSDATADIR, domain->domain_name);
|
||||
snprintf(path, sizeof(path), "%s/%s", PKGCONFDIR, domain->domain_name);
|
||||
if (stat(path, &stbuf) >= 0) {
|
||||
shared_dict = WMReadPropListFromFile(path);
|
||||
if (shared_dict) {
|
||||
|
||||
Reference in New Issue
Block a user