update system-update

This commit is contained in:
Rudra Saraswat 2023-01-20 11:46:19 +05:30
parent 89452160ea
commit d7763f0257

6
blend
View file

@ -384,9 +384,11 @@ def update_blends():
def system_update():
if args.noconfirm == True:
exit(subprocess.call(['sudo', 'almost', 'run', '/usr/bin/pacman', '--noconfirm', '-Syu']))
ret = subprocess.call(['sudo', 'almost', 'run', '/usr/bin/pacman', '--noconfirm', '-Syu'])
else:
exit(subprocess.call(['sudo', 'almost', 'run', '/usr/bin/pacman', '-Syu']))
ret = subprocess.call(['sudo', 'almost', 'run', '/usr/bin/pacman', '-Syu'])
subprocess.call(['sudo', 'almost', 'enter', 'ro'])
exit(ret)
def enter_container():
if not distrobox_check_container(args.container_name):