mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
@ -58,7 +58,7 @@ def check(version, repo, native=True):
|
|||||||
|
|
||||||
|
|
||||||
def make_path_for(name):
|
def make_path_for(name):
|
||||||
path = os.path.join("/home/pi/", name)
|
path = os.path.join("/opt/", name)
|
||||||
if os.path.exists(path):
|
if os.path.exists(path):
|
||||||
logging.debug("[update] deleting %s" % path)
|
logging.debug("[update] deleting %s" % path)
|
||||||
shutil.rmtree(path, ignore_errors=True, onerror=None)
|
shutil.rmtree(path, ignore_errors=True, onerror=None)
|
||||||
|
Reference in New Issue
Block a user