misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
f9cbef9697
commit
6152374024
@ -4,7 +4,7 @@ import logging
|
||||
import time
|
||||
import pwnagotchi.ui.view as view
|
||||
|
||||
version = '1.0.1'
|
||||
version = '1.1.0b'
|
||||
|
||||
_name = None
|
||||
|
||||
|
@ -111,6 +111,10 @@ def install(display, update):
|
||||
|
||||
if update['native']:
|
||||
dest_path = subprocess.getoutput("which %s" % name)
|
||||
if dest_path == "":
|
||||
logging.warning("[update] can't find path for %s" % name)
|
||||
return
|
||||
|
||||
logging.info("[update] installing %s to %s ... TODO" % (source_path, dest_path))
|
||||
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user