don't mv(1) nonexistent directories.
This commit is contained in:
parent
87fc8dfda2
commit
6b7c7e0258
@ -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…
Reference in New Issue
Block a user