don't create already existent files

This commit is contained in:
Tobias Powalowski 2023-07-14 11:01:36 +02:00
parent 05f1e3e66a
commit bf85e16cc3

View file

@ -187,13 +187,13 @@ if [[ -e /usr/bin/setup ]]; then
source /etc/locale.conf
fi
if ! [[ -e /tmp/.keymap ]]; then
vconsole && : >/tmp/.vconsole
vconsole
fi
if [[ ! -e /tmp/.network && ! -e "${_CACHEDIR}/archboot.db" ]]; then
network && : >/tmp/.network
network
fi
if ! [[ -e /tmp/.timezone ]]; then
clock && : >/tmp/.clock
clock
fi
# switch for setup or launcher
if [[ -e "${_CACHEDIR}/archboot.db" ]]; then