mirror of
https://github.com/systemd/systemd.git
synced 2025-01-09 01:18:19 +03:00
meson: tweak meson conditionalization for ssh{d,}_config drop-ins
Let's make sure "no" is an acceptable setting for these paths.
This commit is contained in:
parent
229d4a9806
commit
a8ea7c1940
@ -20,7 +20,7 @@ if conf.get('ENABLE_SSH_PROXY_CONFIG') == 1
|
||||
install : true,
|
||||
install_dir : sshconfdir.startswith('/usr/') ? sshconfdir : libexecdir / 'ssh_config.d')
|
||||
|
||||
if not sshconfdir.startswith('/usr/')
|
||||
if conf.get('LINK_SSH_PROXY_DROPIN') == 1
|
||||
install_emptydir(sshconfdir)
|
||||
|
||||
meson.add_install_script(sh, '-c',
|
||||
|
@ -33,7 +33,7 @@ if conf.get('ENABLE_SSH_USERDB_CONFIG') == 1
|
||||
install : true,
|
||||
install_dir : sshdconfdir.startswith('/usr/') ? sshdconfdir : libexecdir / 'sshd_config.d')
|
||||
|
||||
if not sshdconfdir.startswith('/usr/')
|
||||
if conf.get('LINK_SSHD_USERDB_DROPIN') == 1
|
||||
install_emptydir(sshdconfdir)
|
||||
|
||||
meson.add_install_script(sh, '-c',
|
||||
|
Loading…
Reference in New Issue
Block a user