You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
237 B
Python

import shutil
2 years ago
def is_snap_installed():
return shutil.which('snap') is not None
2 years ago
def is_flatpak_installed():
return shutil.which('flatpak') is not None
2 years ago
def is_apport_installed():
return shutil.which('apport') is not None