update system-update
This commit is contained in:
parent
89452160ea
commit
d7763f0257
1 changed files with 4 additions and 2 deletions
6
blend
6
blend
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue