aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2019-08-10 23:12:36 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2019-08-10 23:12:36 +0300
commita8ff0d50720f2f88d5b3409bc309dc1ed154f38b (patch)
tree1a1abde55e222cdd1817455d40aec919c9cb9768 /bin
parentsplit update.sh into multiple files (diff)
downloadconfig-links-a8ff0d50720f2f88d5b3409bc309dc1ed154f38b.tar.gz
config-links-a8ff0d50720f2f88d5b3409bc309dc1ed154f38b.zip
refactor db.sh
Diffstat (limited to 'bin')
-rw-r--r--bin/update.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/update.sh b/bin/update.sh
index 31f6494..c67fd26 100644
--- a/bin/update.sh
+++ b/bin/update.sh
@@ -131,8 +131,8 @@ main() {
check_symlinks_enabled
ensure_database_exists
read_database
- delete_obsolete_entries
- discover_new_entries
+ unlink_obsolete_entries
+ link_all_entries
write_database
}