#!/bin/sh
set -e
root="${IPKG_INSTROOT:-}"
registration="${root}/usr/share/linkeasefull/desktop-apps.d/15-openwrt-luci.json"
if [ "$(readlink "${registration}" 2>/dev/null)" = "/usr/share/linkeasefull/openwrt-luci/openwrt-luci.json" ]; then
	rm -f "${registration}"
fi
exit 0
