#!/bin/sh
# Scutarius finish-install hook (installed as /usr/lib/finish-install.d/06scutarius-apt
# by the arch_tree rule in build/config/arm64.cfg).
# scutarius-apt-config owns the target's apt sources (one signed-by line to the
# merged view). apt-setup's mirror generator writes the same mirror into
# /etc/apt/sources.list without signed-by; apt then warns "configured multiple
# times". Remove apt-setup's copy when ours is present.
if [ -f /target/etc/apt/sources.list.d/scutarius.list ]; then
	rm -f /target/etc/apt/sources.list
fi
exit 0
