new_files = get_file_set(self.version)
added_files = new_files - old_files
for f in added_files:
- if os.path.exists(f):
+ if os.path.lexists(f): # broken symbolic links count too!
shell.call("git", "add", f)
message = "Pre-commit of %s locker before autoinstall upgrade.\n\n%s" % (util.get_dir_owner(), util.get_git_footer())
try: