mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Improve symlink install error message in setup.py
PR #45132 Co-authored-by: Sviatoslav Sydorenko <wk@sydorenko.org.ua>
This commit is contained in:
parent
8659a88fea
commit
991f61c138
1 changed files with 5 additions and 1 deletions
6
setup.py
6
setup.py
|
@ -79,7 +79,11 @@ def _maintain_symlinks(symlink_type, base_path):
|
|||
if 'ansible-playbook' in symlink_data['script']['ansible']:
|
||||
_cache_symlinks(symlink_data)
|
||||
else:
|
||||
raise
|
||||
raise RuntimeError(
|
||||
"Pregenerated symlink list was not present and expected "
|
||||
"symlinks in ./bin were missing or broken. "
|
||||
"Perhaps this isn't a git checkout?"
|
||||
)
|
||||
else:
|
||||
raise
|
||||
symlinks = symlink_data[symlink_type]
|
||||
|
|
Loading…
Reference in a new issue