shorten script

This commit is contained in:
Tobias Powalowski 2024-08-14 16:45:56 +02:00
parent e8ecb3ce7b
commit 761c54877f

View file

@ -73,17 +73,14 @@ Edit your \e[1m/etc/mkinitcpio.conf\e[m to fit your needs. After that run:
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!"
} }
# start script
if [[ -z "${1}" ]]; then if [[ -z "${1}" ]]; then
_usage _usage
fi fi
if [[ -e "${_LOCAL_DB}" ]]; then if [[ -e "${_LOCAL_DB}" ]]; then
_local_pacman_conf _local_pacman_conf
else else
_PACMAN_CONF="" _PACMAN_CONF=""
fi fi
if ! _prepare_pacman; then if ! _prepare_pacman; then
echo -e "Pacman preparation \e[91mFAILED\e[m." echo -e "Pacman preparation \e[91mFAILED\e[m."
exit 1 exit 1