diff options
-rw-r--r-- | tools/tools/nanobsd/customize.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tools/nanobsd/customize.sh b/tools/tools/nanobsd/customize.sh index 5aa7974..092464a 100644 --- a/tools/tools/nanobsd/customize.sh +++ b/tools/tools/nanobsd/customize.sh @@ -61,7 +61,7 @@ installlocalfiles() { } movelocaletc() { - if [ ! -d ${WD}/etc/local ]; then + if [ ! -d ${WD}/etc/local -a -d ${WD}/usr/local/etc ]; then mv ${WD}/usr/local/etc ${WD}/etc/local ln -s ../../etc/local ${WD}/usr/local/etc fi |