code cleanup
parent
060a5e4e36
commit
9a3bd446cd
@ -1,10 +1,13 @@
|
|||||||
import shutil
|
import shutil
|
||||||
|
|
||||||
|
|
||||||
def is_snap_installed():
|
def is_snap_installed():
|
||||||
return shutil.which('snap') is not None
|
return shutil.which('snap') is not None
|
||||||
|
|
||||||
|
|
||||||
def is_flatpak_installed():
|
def is_flatpak_installed():
|
||||||
return shutil.which('flatpak') is not None
|
return shutil.which('flatpak') is not None
|
||||||
|
|
||||||
|
|
||||||
def is_apport_installed():
|
def is_apport_installed():
|
||||||
return shutil.which('apport') is not None
|
return shutil.which('apport') is not None
|
||||||
|
Loading…
Reference in New Issue