From c4e131de15f74c49f0b1b3a2ccc7f81f860a29ca Mon Sep 17 00:00:00 2001 From: committer Date: Sat, 17 Aug 2024 15:08:47 -0500 Subject: [PATCH] / improved output --- scripts/99_software.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/scripts/99_software.sh b/scripts/99_software.sh index 31607c7..18e8a8c 100644 --- a/scripts/99_software.sh +++ b/scripts/99_software.sh @@ -56,8 +56,9 @@ do_update() { param_check "${hostname}" "no host name given" echo - echo "-- -- -- -- --" - echo "installing packages for the host '${hostname}':" + echo "-----" + echo "INSTALLING PACKAGES FOR HOST '${hostname}':" + echo "-----" package_list_url=https://git.mz.fo/fro/lnx-arch/raw/branch/master/dots/archinstall/${hostname}/packages.txt @@ -108,23 +109,23 @@ do_update() { fi done + echo "ARCH PACKAGES:" if [[ -n "$list" ]] then - echo "installation of ARCH packages:" pacman -S --needed --noconfirm $list else - echo "no arch packages to install" + echo "none to install" fi + echo "AUR PACKAGES:" if [[ -n "$list_aur" ]] then - echo "installation of AUR packages:" # using sudo with the -c flag, it does not work to use variables, like `${list_aur}`` # hence the list of aur packages is written to a file, which is used with yay echo ${list_aur} > /tmp/list_aur.txt sudo -u ${user} bash -c 'yay -S --needed --noconfirm --timeupdate $(