projects
/
openwrt
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9da57e2
)
base-files: fix default_postinst clearing luci cache
author
Liangbin Lian
<jjm2473@gmail.com>
Thu, 25 Dec 2025 05:50:14 +0000
(13:50 +0800)
committer
Hauke Mehrtens
<hauke@hauke-m.de>
Fri, 26 Dec 2025 19:02:59 +0000
(20:02 +0100)
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>
package/base-files/files/lib/functions.sh
patch
|
blob
|
history
diff --git
a/package/base-files/files/lib/functions.sh
b/package/base-files/files/lib/functions.sh
index c1aeea7b72265a9b791ac8f9ba0cde7530661174..de19a5670bdb316d38b339c8edf0ae2b43d9e9d1 100644
(file)
--- 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