From d099a349806f2f6a4945c382ab8b7ed47228bac4 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Tue, 14 Oct 2014 19:01:30 +0000 Subject: 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 SVN-Revision: 42923 --- package/base-files/files/lib/functions.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'package/base-files') diff --git a/package/base-files/files/lib/functions.sh b/package/base-files/files/lib/functions.sh index b88d4d6217..3a5a65dcc7 100755 --- a/package/base-files/files/lib/functions.sh +++ b/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 } -- cgit v1.2.3