Added waveshare v4

Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
Jeroen Oudshoorn
2023-11-28 15:33:23 +01:00
parent e7c5be8a25
commit 43519ade41
9 changed files with 655 additions and 3 deletions

View File

@ -131,7 +131,7 @@ def install(display, update):
logging.info("[update] stopping %s ..." % update['service'])
os.system("service %s stop" % update['service'])
os.system("mv %s %s" % (source_path, dest_path))
os.system("chmod +x /usr/local/bin/%s" % name)
os.chmod("/usr/local/bin/%s" % name, 0o755)
logging.info("[update] restarting %s ..." % update['service'])
os.system("service %s start" % update['service'])
else: