]> git.proxmox.com Git - fwupd.git/commitdiff
Fix installing with -Doffline=false
authorRichard Hughes <richard@hughsie.com>
Tue, 10 Jan 2023 22:04:53 +0000 (22:04 +0000)
committerRichard Hughes <richard@hughsie.com>
Tue, 10 Jan 2023 22:26:52 +0000 (22:26 +0000)
meson.build

index aa6db0eb686f63331b7c596f95940a2905478aa0..0d8e8326cbbbc9d166efb7cc23dd1be2af13c4e7 100644 (file)
@@ -613,7 +613,7 @@ custom_target('builtin-quirk-gz',
   install_dir: join_paths(datadir, 'fwupd', 'quirks.d'),
 )
 
-if build_daemon and libsystemd.found()
+if build_daemon and libsystemd.found() and offline.allowed()
   install_symlink('fwupd-offline-update.service',
     install_dir: join_paths(systemdunitdir, 'system-update.target.wants'),
     pointing_to: join_paths('..', 'fwupd-offline-update.service')