#!/bin/sh

# As especially arm build options vary, try to delete for all archs we know ...
ARCHS="aarch64 armv7ahf-neon armv7athf-neon armv7a-neon armv7a cortexa15hf-neon-vfpv4 cortexa9hf-neon mips32el sh4"

for ARCH in ${ARCHS}
do
	if [ -e $D/etc/opkg/${ARCH}-3rdparty-secret-feed.conf ]; then
		rm $D/etc/opkg/${ARCH}-3rdparty-secret-feed.conf
	fi
done

# Delete the old feed
if [ -e /etc/opkg/secret-feed.conf ]; then
	rm /etc/opkg/secret-feed.conf
fi

exit 0
