(apps)
return True
Check if required apps are installed
Check if required apps are installed
Check if required apps are installed
def check_apps(apps):
    """Check if required apps are installed"""
    for app in apps:
        if (not which(app)):
            logging.error("Couldn't find {}. Is it installed?".format(app))
            print("\nTo install software dependencies, run:")
            print("""
            blocksat-cli deps install
            """)
            return False
    # All apps are installed
    return True
def check_apps ( apps ) : for app in apps : if ( not which ( app ) ) : logging . error ( "Couldn't find {}. Is it installed?" . format ( app ) ) print ( "\nTo install software dependencies, run:" ) print ( """
            blocksat-cli deps install
            """ ) return False # All apps are installed return True