/ improved verbose

This commit is contained in:
committer
2024-08-17 15:05:31 -05:00
parent 711ed81c67
commit e6fbfa84b4

View File

@@ -56,6 +56,7 @@ do_update() {
param_check "${hostname}" "no host name given"
echo
echo "-- -- -- -- --"
echo "installing packages for the host '${hostname}':"
package_list_url=https://git.mz.fo/fro/lnx-arch/raw/branch/master/dots/archinstall/${hostname}/packages.txt
@@ -109,13 +110,15 @@ do_update() {
if [[ -n "$list" ]]
then
echo "installation of ARCH packages:"
pacman -S --needed --noconfirm $list
else
echo "No Arch packages to install"
echo "no arch packages to install"
fi
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