still working on ipxe
This commit is contained in:
2
grml.py
2
grml.py
@@ -79,7 +79,6 @@ class Updater(_base.BaseUpdater):
|
||||
self.do_update = True
|
||||
self.force_update = True
|
||||
self.old_ver = 0.00
|
||||
self.variant = 'full'
|
||||
return(None)
|
||||
with open(self.dest_ver, 'rb') as fh:
|
||||
ver_info = json.load(fh)
|
||||
@@ -153,6 +152,7 @@ class Updater(_base.BaseUpdater):
|
||||
with open(self.dest_ver, 'w') as fh:
|
||||
fh.write(j)
|
||||
fh.write('\n')
|
||||
os.chmod(self.dest_ver, 0o0644)
|
||||
return(None)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user