forked from lix-project/lix
Installer: Handle Darwin
"cp -r" doesn't copy symlinks properly on Darwin, but "cp -R" does. Fixes #215.
This commit is contained in:
parent
6b9cd59a41
commit
506d86394d
|
@ -48,7 +48,7 @@ for i in $(cd $self/store && echo *); do
|
|||
rm -rf "$i_tmp"
|
||||
fi
|
||||
if ! [ -e "$dest/store/$i" ]; then
|
||||
cp -rp "$self/store/$i" "$i_tmp"
|
||||
cp -Rp "$self/store/$i" "$i_tmp"
|
||||
mv "$i_tmp" "$dest/store/$i"
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue