This commit is contained in:
Rudra Saraswat 2023-05-08 23:06:58 +05:30
parent ef78a2cb6b
commit 08ec032b41

View file

@ -217,11 +217,11 @@ def handle_system_packages(install):
exit(1) exit(1)
exec('mkdir', '-p', '/.blendrw') exec('mkdir', '-p', '/.blendrw')
while exec('umount', '-l', '/.blendrw/usr', stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) != 0: while exec('umount', '-l', '/.blendrw/usr', stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) == 0:
pass pass
while exec('umount', '-l', '/.blendrw/var/lib/pacman', stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) != 0: while exec('umount', '-l', '/.blendrw/var/lib/pacman', stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) == 0:
pass pass
while exec('umount', '-l', '/.blendrw', stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) != 0: while exec('umount', '-l', '/.blendrw', stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) == 0:
pass pass
for old_overlay in os.listdir('/mnt'): for old_overlay in os.listdir('/mnt'):
if old_overlay.startswith('.blend-tmp-overlay-'): if old_overlay.startswith('.blend-tmp-overlay-'):