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
master
John Crispin 10 years ago
parent 6e46fc8a38
commit d099a34980
  1. 1
      package/base-files/files/lib/functions.sh

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

Loading…
Cancel
Save