#!/bin/sh
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
