diff options
author | phk <phk@FreeBSD.org> | 2004-11-28 13:45:31 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-11-28 13:45:31 +0000 |
commit | 6b7c7e02581cd263d61b1e1621885e99a7cc32c2 (patch) | |
tree | 68429d19eabdc453e1df113e0c0002301a18a924 | |
parent | 87fc8dfda2de36514dc5289e8482e6ca2c77e37a (diff) | |
download | FreeBSD-src-6b7c7e02581cd263d61b1e1621885e99a7cc32c2.zip FreeBSD-src-6b7c7e02581cd263d61b1e1621885e99a7cc32c2.tar.gz |
don't mv(1) nonexistent directories.
-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 |