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
lede-17.01
John Crispin 2014-10-14 19:01:30 +00:00
parent 6e46fc8a38
commit d099a34980
1 changed files with 1 additions and 0 deletions

View File

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