#!/bin/sh
IPKG_INSTROOT="${IPKG_INSTROOT:-}" "${IPKG_INSTROOT:-}/usr/share/mise/register-desktop.sh" register
if [ -z "${IPKG_INSTROOT:-}" ]; then
	rm -f /tmp/luci-indexcache /tmp/luci-indexcache.*
	rm -rf /tmp/luci-modulecache
	/etc/init.d/rpcd reload >/dev/null 2>&1 || true
fi
exit 0
