diff --git a/pisi/util.py b/pisi/util.py index f9b4dfa5..0e68a8a5 100644 --- a/pisi/util.py +++ b/pisi/util.py @@ -279,7 +279,11 @@ def get_file_hashes(top, exclude_prefix=None, removePrefix=None): try: return func(f) - except FileError: + except FileError, e: + if os.path.issymlink(f): + ctx.ui.warning(_('Ignoring "external" link %s') % f) + else: + raise e return None # also handle single files