[arch] feature -> new 'Check Snaps support' action

This commit is contained in:
Vinicius Moreira
2020-08-26 18:53:09 -03:00
parent 879d5f2c27
commit bb5abf5d86
12 changed files with 189 additions and 4 deletions

View File

@@ -1113,3 +1113,7 @@ def get_packages_to_sync_first() -> Set[str]:
return {s.strip() for s in to_sync_first[0].split(' ') if s and s.strip()}
return set()
def is_snapd_installed() -> bool:
return bool(run_cmd('pacman -Qq snapd', print_error=False))