Fixed local firmware cache location for rnodeconf
This commit is contained in:
parent
622fd6cf46
commit
5f7e37187f
@ -218,7 +218,7 @@ UPD_DIR = None
|
|||||||
FWD_DIR = None
|
FWD_DIR = None
|
||||||
|
|
||||||
try:
|
try:
|
||||||
CNF_DIR = os.path.expanduser("~/.local/rnodeconf")
|
CNF_DIR = os.path.expanduser("~/.config/rnodeconf")
|
||||||
UPD_DIR = CNF_DIR+"/update"
|
UPD_DIR = CNF_DIR+"/update"
|
||||||
FWD_DIR = CNF_DIR+"/firmware"
|
FWD_DIR = CNF_DIR+"/firmware"
|
||||||
|
|
||||||
@ -906,7 +906,7 @@ def ensure_firmware_file(fw_filename):
|
|||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
RNS.log("")
|
RNS.log("")
|
||||||
RNS.log("Firmware corrupt.")
|
RNS.log("Firmware corrupt. Try clearing the local firmware cache with: rnodeconf --clear-cache")
|
||||||
exit(96)
|
exit(96)
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
Loading…
Reference in New Issue
Block a user