added osmc
This commit is contained in:
@@ -6,6 +6,8 @@ def _os_flavor():
|
||||
|
||||
if os.path.isfile('/etc/armbian-release'):
|
||||
h = "Armbian"
|
||||
elif os.path.isdir('/etc/osmc'):
|
||||
h = "OSMC"
|
||||
else:
|
||||
h = "Debian"
|
||||
return h
|
||||
|
||||
Reference in New Issue
Block a user