Update plugin.py

This commit is contained in:
gutosie
2023-01-13 19:15:43 +02:00
committed by GitHub
parent be208e80b0
commit def0eb6354

View File

@@ -562,7 +562,7 @@ class NeoBootInstallation(Screen):
if not fileExists('/usr/lib/periodon/.accessdate'): if not fileExists('/usr/lib/periodon/.accessdate'):
os.system('date %s > /usr/lib/periodon/.accessdate' % UPDATEDATE) os.system('date %s > /usr/lib/periodon/.accessdate' % UPDATEDATE)
if not fileExists('/usr/lib/periodon/.accessdate') or not fileExistse('/etc/name'): if not fileExists('/usr/lib/periodon/.accessdate') or not fileExists('/etc/name'):
out1 = open('%sImageBoot/.version' % getNeoLocation(), 'w') out1 = open('%sImageBoot/.version' % getNeoLocation(), 'w')
out1.write(PLUGINVERSION) out1.write(PLUGINVERSION)
out1.close() out1.close()