Added prompt to automated install

This commit is contained in:
Jake Howard 2016-02-05 18:19:08 +00:00
parent e96dd2aa23
commit 0af40bdabe

View file

@ -11,6 +11,7 @@ def get_functions():
return ns return ns
if __name__ == '__main__': if __name__ == '__main__':
if input("Are you sure you want to install (allthethings)? [Y/N]: ").lower() == 'y':
waf_scripts = [] waf_scripts = []
for key, func in get_functions().items(): for key, func in get_functions().items():
if type(func).__name__ == 'function': if type(func).__name__ == 'function':