Update plugin.py

This commit is contained in:
gutosie
2022-03-03 14:32:48 +02:00
committed by GitHub
parent 133c998772
commit f28ea7e79b

View File

@@ -603,7 +603,7 @@ class NeoBootInstallation(Screen):
writefile.close()
if not os.path.isfile('/etc/name'):
if not getBoxHostName() == 'dm500hd' or not getBoxHostName() == 'dm800se' or not getBoxHostName() == 'dm800' or not getBoxHostName() == 'dm8000':
if getBoxHostName() != "dm500hd" or getBoxHostName() != "dm800se" or getBoxHostName() != "dm800" or getBoxHostName() != "dm8000":
system('opkg update')
os.system('opkg install install --force-overwrite --force-reinstall python-subprocess')
os.system('opkg install install --force-overwrite --force-reinstall python-argparse')