don't mv(1) nonexistent directories.
This commit is contained in:
parent
c0c6e3516e
commit
969c9e889c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user