mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-19 06:54:58 +01:00
base-files: fix conffiles entry check (patch from #2425)
SVN-Revision: 17618
This commit is contained in:
parent
997d4fb013
commit
ca300a2f07
@ -194,7 +194,7 @@ define Package/base-files/install
|
||||
$(call Package/base-files/install-target,$(1))
|
||||
for conffile in $(1)/etc/config/*; do \
|
||||
if [ -f "$$$$conffile" ]; then \
|
||||
grep "$$$$conffile" $(1)/CONTROL/conffiles || \
|
||||
grep "$$$${conffile##$(1)}" $(1)/CONTROL/conffiles || \
|
||||
echo "$$$${conffile##$(1)}" >> $(1)/CONTROL/conffiles; \
|
||||
fi \
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user