From 4949899bf7e20c6e2c8abe2ae21b3d3e70aadc1b Mon Sep 17 00:00:00 2001 From: "Kevin Veen-Birkenbach [aka. Frantz]" Date: Sun, 4 Oct 2020 15:14:15 +0200 Subject: [PATCH] Refactored --- scripts/image/setup.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/image/setup.sh b/scripts/image/setup.sh index cb41dea..8da9b27 100644 --- a/scripts/image/setup.sh +++ b/scripts/image/setup.sh @@ -325,9 +325,7 @@ if [ "$update_system" == "y" ] info "Updating system..." case "$os" in "arch"|"manjaro") - ( - echo "pacman --noconfirm -Syyu" - ) | chroot "$root_mount_path" /bin/bash || error + echo "pacman --noconfirm -Syyu" | chroot "$root_mount_path" /bin/bash || error ;; "moode"|"retropie") (