#!/bin/sh
#
# Remove status file of Univention System Setup
#
# SPDX-FileCopyrightText: 2016-2025 Univention GmbH
# SPDX-License-Identifier: AGPL-3.0-only

# shellcheck source=/dev/null
. /usr/share/univention-lib/ucr.sh

# when installing from DVD -> wait until all cleanup scripts are finished
# otherwise processes might be interrupted due to the consecutive reboot
if ! is_ucr_true system/setup/boot/installer; then
	rm -f /var/www/ucs_setup_process_status.json
fi

exit 0
