u
This commit is contained in:
@@ -43,8 +43,10 @@ echo "- - - - -"
|
|||||||
echo "if no uninstallable packages were found, the following error will be displayed:"
|
echo "if no uninstallable packages were found, the following error will be displayed:"
|
||||||
echo "\"error: no targets specified (use -h for help)\""
|
echo "\"error: no targets specified (use -h for help)\""
|
||||||
echo "- - - - -"
|
echo "- - - - -"
|
||||||
|
echo "removing obsolete packages:"
|
||||||
pacman -Rns $(pacman -Qtdq) # remove packages that are not needed
|
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 "-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-"
|
echo "-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-"
|
||||||
|
|
||||||
@@ -53,6 +55,10 @@ do_update() {
|
|||||||
|
|
||||||
param_check "${hostname}" "no host name given"
|
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
|
package_list_url=https://git.mz.fo/fro/lnx-arch/raw/branch/master/dots/archinstall/${hostname}/packages.txt
|
||||||
|
|
||||||
trg_file=/tmp/packages.txt
|
trg_file=/tmp/packages.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user