This commit is contained in:
anki-code 2020-02-16 17:17:14 +03:00
parent 0eb23d7d26
commit 3946c553be

2
xxh
View file

@ -217,7 +217,7 @@ if opt.install_force == False:
else:
eeprint('Unknown answer')
if host_xxh_version in ['dir_not_found','dir_empty']:
if host_xxh_version in ['dir_not_found','dir_empty'] and opt.install_force == False:
yn = input(f"{host}:{host_xxh_home} not found. Install xxh? [Y/n] ").strip().lower()
if yn == 'y' or yn == '':
opt.install = True