fix config generation
This commit is contained in:
parent
b0c39bbeb3
commit
f00c3bcc22
@ -93,7 +93,10 @@ function zssh_process()
|
|||||||
if [[ ${#zssh_host_config_accesses} -gt 0 ]]
|
if [[ ${#zssh_host_config_accesses} -gt 0 ]]
|
||||||
then
|
then
|
||||||
zshlibs_log zssh_server "processing ssh server setup"
|
zshlibs_log zssh_server "processing ssh server setup"
|
||||||
if [[ "${HOME}/.config/zsh/local.config.zsh" -nt $(zssh_host_info -c) ]]
|
# - if there is no generated ssh config,
|
||||||
|
# - if local config not older than (means newer than) generated config
|
||||||
|
# then generate ssh config
|
||||||
|
if ! [[ "${HOME}/.config/zsh/local.config.zsh" -ot $(zssh_host_info -c) ]]
|
||||||
then
|
then
|
||||||
zshlibs_log zssh_server "publishing our configs …"
|
zshlibs_log zssh_server "publishing our configs …"
|
||||||
zssh_publish_configs
|
zssh_publish_configs
|
||||||
|
Loading…
Reference in New Issue
Block a user