#!/bin/sh
#
# Clear univention-system-setup-boot package cache
#
# SPDX-FileCopyrightText: 2016-2025 Univention GmbH
# SPDX-License-Identifier: AGPL-3.0-only

# clear package cache via cleanup script in order to avoid re-downloading
# all packages again when univention-system-setup-boot is updated
if [ -s /var/cache/univention-system-setup/profile ]; then
	rm -f /var/cache/univention-system-setup/packages/*.deb
	rm -f /var/cache/univention-system-setup/packages/Packages
	rm -f /etc/apt/sources.list.d/05univention-system-setup.list
fi

