chore: fix old file removal behavior
This commit is contained in:
parent
e3e48931cc
commit
f0306bd49d
1 changed files with 1 additions and 1 deletions
2
akshara
2
akshara
|
@ -112,7 +112,7 @@ def update_system():
|
|||
if os.path.isdir('/mnt/iso-update'):
|
||||
for f in os.listdir('/mnt/iso-update'):
|
||||
if f != 'update.iso':
|
||||
exec('rm', '-f', f)
|
||||
exec('rm', '-f', f'/mnt/iso-update/{f}')
|
||||
|
||||
# Check if update is available
|
||||
if os.path.isfile('/etc/blend_release'):
|
||||
|
|
Loading…
Reference in a new issue