# Live ISO: on the first console (tty1), launch the TANINUX installer.
# (On an installed system this file isn't present — Calamares' shellprocess
#  strips the live-only bits from the target.)
if [[ "$(tty)" == /dev/tty1 ]] && [[ -z "${WAYLAND_DISPLAY:-}" ]] && ! pgrep -x cage >/dev/null 2>&1; then
  exec tanin-installer
fi
