mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-27 01:41:45 +02:00
Fix loading shipped config when using a prefix other than /usr
Also remove recommendation to modify `/usr/share/gamemode/gamemode.ini`. `/usr/share` is intended to contain read-only data files. See https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s11.html.
This commit is contained in:

committed by
afayaz-feral

parent
126e67fb6b
commit
5e366bd55d
@ -73,7 +73,7 @@ Or, distribute \fBlibgamemodeauto.so.0\fR and either link with \fB\-lgamemodeaut
|
||||
\fBgamemoded\fR will load and merge \fBgamemode.ini\fR config files from these directories in the following order:
|
||||
|
||||
.RS 4
|
||||
/usr/share/gamemode/
|
||||
@SYSCONFDIR@/
|
||||
.RE
|
||||
.RS 4
|
||||
/etc/
|
||||
|
@ -1,6 +1,7 @@
|
||||
data_conf = configuration_data()
|
||||
data_conf.set('BINDIR', path_bindir)
|
||||
data_conf.set('LIBEXECDIR', path_libexecdir)
|
||||
data_conf.set('SYSCONFDIR', path_sysconfdir)
|
||||
data_conf.set('GAMEMODE_PREFIX', path_prefix)
|
||||
data_conf.set('GAMEMODE_VERSION', meson.project_version())
|
||||
|
||||
|
Reference in New Issue
Block a user