openwrt/package/base-files/files
Mathias Kresin b2437a02a4 base-files: don't overwrite model name set by target
The condition is always true due to the literal string followed the
-n test parameter. A model name set by target scripts always gets
overwritten this way.

Change the condition to check for an already existing destination file
as it was before 5e85ae9 ("base-files: fix error message during boot").

Signed-off-by: Mathias Kresin <dev@kresin.me>
2017-02-01 07:40:09 +01:00
..
bin base-files: Changed UCI variable name for GPIO value from 'default' to 'value' 2016-12-12 09:57:40 +01:00
etc base-files: fix user creation on sysupgrade with few opkg control files 2017-01-27 10:10:02 +01:00
lib base-files: don't overwrite model name set by target 2017-02-01 07:40:09 +01:00
rom rename default/ to files/ 2006-11-22 23:30:57 +00:00
sbin base-files: validate metadata of sysupgrade images 2016-11-19 11:24:09 +01:00
usr base-files: add ARCH_PACKAGES to openwrt_release and os-release 2017-01-16 13:29:47 +01:00