diff options
| author | Liangbin Lian | 2025-12-25 05:50:14 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2025-12-26 19:02:59 +0000 |
| commit | e9fd3facd041263dcc080748e0637ee99c517dd8 (patch) | |
| tree | 0cdf582668508b7f0098cd1d0b6d85360ecaf89f | |
| parent | 9da57e2f828bc4a589b9a94e4cdf1b6ccdeb110e (diff) | |
| download | openwrt-e9fd3facd041263dcc080748e0637ee99c517dd8.tar.gz | |
base-files: fix default_postinst clearing luci cache
The path to the LuCI index cache file has changed to
/tmp/luci-indexcache.*.json since OpenWrt 22.03.
Update functions.sh to align with luci.mk.
Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21280
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
| -rw-r--r-- | package/base-files/files/lib/functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/lib/functions.sh b/package/base-files/files/lib/functions.sh index c1aeea7b72..de19a5670b 100644 --- a/package/base-files/files/lib/functions.sh +++ b/package/base-files/files/lib/functions.sh @@ -382,7 +382,7 @@ default_postinst() { uci commit fi - rm -f /tmp/luci-indexcache + rm -f /tmp/luci-indexcache.* fi if [ -f "$root/usr/lib/opkg/info/${pkgname}.postinst-pkg" ]; then |