mirror of
https://git.proxmox.com/git/fwupd
synced 2025-07-24 13:32:46 +00:00
trivial: look for an empty string for systemd and udev directories
This commit is contained in:
parent
919e4ec61d
commit
7cc2679f09
@ -203,12 +203,12 @@ if get_option('enable-consolekit')
|
||||
endif
|
||||
|
||||
systemdunitdir = get_option('with-systemdunitdir')
|
||||
if systemdunitdir == 'dynamic'
|
||||
if systemdunitdir == ''
|
||||
systemdunitdir = systemd.get_pkgconfig_variable('systemdsystemunitdir')
|
||||
endif
|
||||
|
||||
udevdir = get_option('with-udevdir')
|
||||
if udevdir == 'dynamic'
|
||||
if udevdir == ''
|
||||
udevdir = udev.get_pkgconfig_variable('udevdir')
|
||||
endif
|
||||
|
||||
|
@ -15,5 +15,5 @@ option('enable-dummy', type : 'boolean', value : false, description : 'enable th
|
||||
option('enable-gpg', type : 'boolean', value : true, description : 'enable the GPG verification support')
|
||||
option('enable-pkcs7', type : 'boolean', value : true, description : 'enable the PKCS7 verification support')
|
||||
option('with-bootdir', type : 'string', value : '/boot/efi', description : 'Directory for EFI system partition')
|
||||
option('with-systemdunitdir', type: 'string', value: 'dynamic', description: 'Directory for systemd units')
|
||||
option('with-udevdir', type: 'string', value: 'dynamic', description: 'Directory for udev rules')
|
||||
option('with-systemdunitdir', type: 'string', value: '', description: 'Directory for systemd units')
|
||||
option('with-udevdir', type: 'string', value: '', description: 'Directory for udev rules')
|
||||
|
Loading…
Reference in New Issue
Block a user