diff --git a/data/remotes.d/meson.build b/data/remotes.d/meson.build index 4ef0266f0..c20a1a05e 100644 --- a/data/remotes.d/meson.build +++ b/data/remotes.d/meson.build @@ -1,9 +1,4 @@ if build_standalone and get_option('lvfs') != 'false' - install_data([ - 'lvfs-testing.conf', - ], - install_dir: join_paths(sysconfdir, 'fwupd', 'remotes.d') - ) con3 = configuration_data() if get_option('lvfs') == 'disabled' con3.set('enabled', 'false') @@ -22,6 +17,13 @@ if build_standalone and get_option('lvfs') != 'false' install: true, install_dir: join_paths(sysconfdir, 'fwupd', 'remotes.d'), ) + configure_file( + input: 'lvfs-testing.conf', + output: 'lvfs-testing.conf', + configuration: con3, + install: true, + install_dir: join_paths(sysconfdir, 'fwupd', 'remotes.d'), + ) i18n.merge_file( input: 'lvfs.metainfo.xml', output: 'org.freedesktop.fwupd.remotes.lvfs.metainfo.xml',