Refactored

This commit is contained in:
Kevin Veen-Birkenbach 2020-10-04 15:14:15 +02:00
parent f6ddda7723
commit 4949899bf7

View File

@ -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")
(