scripts/symlink-update-hook.py: fix conditionals Otherwise this would fail to update all of the symlinks if any of them were already correct.
1 files changed, 2 insertions(+), 2 deletions(-) M scripts/symlink-update-hook.py
M scripts/symlink-update-hook.py => scripts/symlink-update-hook.py +2 -2
@@ 25,6 25,6 @@ def migrate(path, link): for repo in Repository.query.all(): if migrate(os.path.join(repo.path, "hooks", "update"), post_update) \ and migrate(os.path.join(repo.path, "hooks", "post-update"), post_update) \ and migrate(os.path.join(repo.path, "hooks", "pre-receive"), post_update): or migrate(os.path.join(repo.path, "hooks", "post-update"), post_update) \ or migrate(os.path.join(repo.path, "hooks", "pre-receive"), post_update): print("Migrated {}".format(repo.name))