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