From bd306179f2bde88eef03ed2a3a174b4dec3ceb1a Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Tue, 10 Jan 2023 22:04:53 +0000 Subject: [PATCH] Fix installing with -Doffline=false --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') -- 2.39.5