1
0
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:
Lennart Poettering 2024-09-09 13:59:10 +02:00
parent 229d4a9806
commit a8ea7c1940
2 changed files with 2 additions and 2 deletions

View File

@ -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',

View File

@ -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',