From d7763f02571e6c594c571d2e8b03725f33a3b8ab Mon Sep 17 00:00:00 2001 From: Rudra Saraswat Date: Fri, 20 Jan 2023 11:46:19 +0530 Subject: [PATCH] update system-update --- blend | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/blend b/blend index e6d6a92..716babb 100755 --- a/blend +++ b/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):