simplify echos

This commit is contained in:
Tobias Powalowski 2024-08-14 10:57:10 +02:00
parent 78ae6e2cbb
commit ad7038ae95

View file

@ -79,22 +79,23 @@ fi
_locale_gen _locale_gen
_chroot_umount _chroot_umount
echo echo -e "
echo -e "\e[1mPackage installation complete.\e[m"
echo \e[1mPackage installation complete.\e[m
echo -e "Please install a \e[1mbootloader\e[m. Edit the appropriate config file for"
echo -e "your loader. Please use \e[1m${_VMLINUZ}\e[m as kernel image." Please install a \e[1mbootloader\e[m. Edit the appropriate config file for
echo -e "Chroot into your system to install it:" your loader. Please use \e[1m${_VMLINUZ}\e[m as kernel image.
echo -e " \e[1m# mount -o bind /dev ${_DESTDIR}/dev\e[m" Chroot into your system to install it:
echo -e " \e[1m# mount -t proc none ${_DESTDIR}/proc\e[m" \e[1m# mount -o bind /dev ${_DESTDIR}/dev\e[m
echo -e " \e[1m# mount -t sysfs none ${_DESTDIR}/sys\e[m" \e[1m# mount -t proc none ${_DESTDIR}/proc\e[m
echo -e " \e[1m# chroot ${_DESTDIR} /bin/bash\e[m" \e[1m# mount -t sysfs none ${_DESTDIR}/sys\e[m
echo \e[1m# chroot ${_DESTDIR} /bin/bash\e[m
echo "Next step, initramfs setup:"
echo -e "Edit your \e[1m/etc/mkinitcpio.conf\e[m to fit your needs. After that run:" Next step, initramfs setup:
echo -e " \e[1m# mkinitcpio -p ${_KERNELPKG}\e[m" Edit your \e[1m/etc/mkinitcpio.conf\e[m to fit your needs. After that run:
echo \e[1m# mkinitcpio -p ${_KERNELPKG}\e[m
echo -e "Then \e[1mexit\e[m your chroot shell, edit \e[1m${_DESTDIR}/etc/fstab\e[m and \e[1mreboot\e[m! "
Then \e[1mexit\e[m your chroot shell, edit \e[1m${_DESTDIR}/etc/fstab\e[m and \e[1mreboot\e[m!"
exit 0 exit 0
# vim: set ts=4 sw=4 et: # vim: set ts=4 sw=4 et: