This commit is contained in:
committer
2024-06-08 15:10:22 -05:00
parent 03e1cbacba
commit a47584cb59

View File

@@ -43,8 +43,10 @@ echo "- - - - -"
echo "if no uninstallable packages were found, the following error will be displayed:"
echo "\"error: no targets specified (use -h for help)\""
echo "- - - - -"
echo "removing obsolete packages:"
pacman -Rns $(pacman -Qtdq) # remove packages that are not needed
pacman -Syu # update install packages
echo "update installed packages:"
pacman -Syu # update installed packages
echo "-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-"
@@ -53,6 +55,10 @@ do_update() {
param_check "${hostname}" "no host name given"
echo
echo "installing packages for the host '${hostname}'"
echo
package_list_url=https://git.mz.fo/fro/lnx-arch/raw/branch/master/dots/archinstall/${hostname}/packages.txt
trg_file=/tmp/packages.txt