diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-02-04 12:31:31 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-02-04 12:31:31 +0100 |
commit | c1f4b790c458f0de368f32487a007d571858207c (patch) | |
tree | 45d7293ea14d0b4249e2e286327b4d8490ff563e /src/db.sh | |
parent | debian/README: update (diff) | |
parent | t/i: call links-update twice, just in case (diff) | |
download | config-links-c1f4b790c458f0de368f32487a007d571858207c.tar.gz config-links-c1f4b790c458f0de368f32487a007d571858207c.zip |
Merge tag 'v2.0.3' into debian
Diffstat (limited to '')
-rw-r--r-- | src/db.sh | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -192,6 +192,7 @@ shared_file_present() { } link_all_entries() { + local -a shared_var_dirs=() local shared_var_dir find "$shared_root_dir" \ @@ -201,6 +202,10 @@ link_all_entries() { -regex ".*/$var_name_regex\$" \ -printf '%P\0' | while IFS= read -d '' -r shared_var_dir; do + shared_var_dirs+=("$shared_var_dir") + done + + for shared_var_dir in ${shared_var_dirs[@]+"${shared_var_dirs[@]}"}; do dump "shared directory: $shared_root_dir$shared_var_dir" local shared_path |