mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-17 15:44:44 +02:00
base-files: fix conffiles entry check (patch from #2425)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17618 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
9af7cd4561
commit
ac7068d7d7
@ -194,7 +194,7 @@ define Package/base-files/install
|
|||||||
$(call Package/base-files/install-target,$(1))
|
$(call Package/base-files/install-target,$(1))
|
||||||
for conffile in $(1)/etc/config/*; do \
|
for conffile in $(1)/etc/config/*; do \
|
||||||
if [ -f "$$$$conffile" ]; then \
|
if [ -f "$$$$conffile" ]; then \
|
||||||
grep "$$$$conffile" $(1)/CONTROL/conffiles || \
|
grep "$$$${conffile##$(1)}" $(1)/CONTROL/conffiles || \
|
||||||
echo "$$$${conffile##$(1)}" >> $(1)/CONTROL/conffiles; \
|
echo "$$$${conffile##$(1)}" >> $(1)/CONTROL/conffiles; \
|
||||||
fi \
|
fi \
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user