add info pages to full system

This commit is contained in:
Tobias Powalowski 2022-10-08 19:04:20 +02:00
parent 7ec354768d
commit 6b428f6744

View file

@ -148,10 +148,10 @@ fi
if [[ "${_FULL_SYSTEM}" == "1" && ! -e "/.full-system" && ! -e "/var/cache/pacman/pkg/archboot.db" ]]; then
_initialize_zram_usr
echo -e "\033[1mInitializing full Arch Linux system ...\033[0m"
echo -e "\033[1mStep 1/2:\033[0m Reinstalling installed packages and adding man-pages for Arch Linux full system ..."
echo -e "\033[1mStep 1/2:\033[0m Renstalling packages and adding info/man-pages ..."
echo " This will need some time ..."
pacman -Sy >/dev/tty7 2>&1 || exit 1
pacman -Qqn | grep -v archboot | pacman -S --noconfirm man-db man-pages - >/dev/tty7 2>&1 || exit 1
pacman -Qqn | grep -v archboot | pacman -S --noconfirm man-db man-pages texinfo - >/dev/tty7 2>&1 || exit 1
echo -e "\033[1mStep 2/2:\033[0m Cleanup package cache ..."
rm /var/cache/pacman/pkg/*
echo -e "\033[1mFinished. Your full Arch Linux system is ready now.\033[0m"