openwrtv3/package/base-files/files
Mathias Kresin 60fce1258c 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-01-30 08:55:41 +01:00
..
bin base-files: uppercase default hostname: LEDE 2017-01-26 18:10:10 +01:00
etc base-files: fix user creation on sysupgrade with few opkg control files 2017-01-24 19:08:41 +01:00
lib base-files: don't overwrite model name set by target 2017-01-30 08:55:41 +01:00
rom
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