diff options
Diffstat (limited to 'arch-install')
-rwxr-xr-x | arch-install/arch-fix-1.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch-install/arch-fix-1.sh b/arch-install/arch-fix-1.sh index 8eea94f..1f56a40 100755 --- a/arch-install/arch-fix-1.sh +++ b/arch-install/arch-fix-1.sh @@ -1,5 +1,15 @@ #! /bin/bash +echo "LINKS" +for l in /lib /lib64 /usr/lib64 +do + if [ "$(readlink -f $l)" != "/usr/lib" ] + then + echo "must manually fix : $l (ln -s /usr/lib $l)" + exit 1 + fi +done + echo "PACMAN" pacman-db-upgrade pacman -Syu @@ -8,3 +18,4 @@ pacman -S --noconfirm grub efibootmgr mkinitcpio linux linux-firmware echo "GRUB" grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=grub_uefi --recheck grub-mkconfig -o /boot/grub/grub.cfg +mkinitcpio -p linux |