mirror of
https://github.com/systemd/systemd.git
synced 2025-03-19 22:50:17 +03:00
meson: tweak meson conditionalization for ssh{d,}_config drop-ins
Let's make sure "no" is an acceptable setting for these paths. (cherry picked from commit a8ea7c19400363847bcd62f3b9ee533fbab0e658)
This commit is contained in:
parent
5dc97968d6
commit
c5169b4441
@ -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…
x
Reference in New Issue
Block a user