Author: blogic Date: 2014-10-14 21:01:30 +0200 (Tue, 14 Oct 2014) New Revision: 42923
Modified: trunk/package/base-files/files/lib/functions.sh Log: 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 <[email protected]> Modified: trunk/package/base-files/files/lib/functions.sh =================================================================== --- trunk/package/base-files/files/lib/functions.sh 2014-10-14 19:01:21 UTC (rev 42922) +++ trunk/package/base-files/files/lib/functions.sh 2014-10-14 19:01:30 UTC (rev 42923) @@ -216,6 +216,7 @@ $i start } done + [ -n "${IPKG_INSTROOT}" ] || rm -f /tmp/luci-indexcache 2>/dev/null return 0 } _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
