mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 11:30:37 +02:00
shorten script
This commit is contained in:
parent
e8ecb3ce7b
commit
761c54877f
1 changed files with 0 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue