From 6b7c7e02581cd263d61b1e1621885e99a7cc32c2 Mon Sep 17 00:00:00 2001 From: phk Date: Sun, 28 Nov 2004 13:45:31 +0000 Subject: don't mv(1) nonexistent directories. --- tools/tools/nanobsd/customize.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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 -- cgit v1.1