base-files: default_postinst() force clear luci-indexcache
[openwrt/openwrt.git] / package / base-files / files / lib / functions.sh
index b88d4d62175a785d5f0651ff127d2407ac09cb59..3a5a65dcc7ee1dc9d490d58bca517c6650d55ba7 100755 (executable)
@@ -216,6 +216,7 @@ default_postinst() {
                        $i start
                }
        done
+       [ -n "${IPKG_INSTROOT}" ] || rm -f /tmp/luci-indexcache 2>/dev/null
        return 0
 }