#!/usr/bin/bash
set -eu

target_root="${1:-}"

if [ -z "$target_root" ] || [ "$target_root" = "/" ]; then
    echo "Invalid Calamares target root: ${target_root:-empty}" >&2
    exit 1
fi

touch /tmp/tuxenix-calamares-install-complete
