From: Richard Hughes Date: Tue, 10 Jan 2023 22:04:53 +0000 (+0000) Subject: Fix installing with -Doffline=false X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=bd306179f2bde88eef03ed2a3a174b4dec3ceb1a;p=fwupd.git Fix installing with -Doffline=false --- diff --git a/meson.build b/meson.build index aa6db0eb6..0d8e8326c 100644 --- a/meson.build +++ b/meson.build @@ -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')