base-files: default_postinst() force clear luci-indexcache

Inside every LuCI package you need to clear luci-indexcache and
sometimes when installing non LuCI pacakges it's also needed to clear
it. Easier put it into default_postinst().

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

SVN-Revision: 42923
This commit is contained in:
John Crispin 2014-10-14 19:01:30 +00:00
parent 6e46fc8a38
commit d099a34980

View File

@ -216,6 +216,7 @@ default_postinst() {
$i start $i start
} }
done done
[ -n "${IPKG_INSTROOT}" ] || rm -f /tmp/luci-indexcache 2>/dev/null
return 0 return 0
} }