Skip to content

Commit

Permalink
Fix the mod install hardlink error properly
Browse files Browse the repository at this point in the history
  • Loading branch information
klightspeed committed Feb 20, 2017
1 parent d50c1a8 commit aa6291c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/arkmanager
Original file line number Diff line number Diff line change
Expand Up @@ -2248,9 +2248,9 @@ doExtractMod(){
if [[ "$modextractdir" != "$moddestdir" ]]; then
if [ -n "$useRefLinks" ]; then
cp -au --reflink=always "${modextractdir}/." "${moddestdir}"
cp -au --reflink=always --remove-destination "${modextractdir}/." "${moddestdir}"
else
cp -alu "${modextractdir}/." "${moddestdir}"
cp -alu --remove-destination "${modextractdir}/." "${moddestdir}"
fi
find "${moddestdir}" -type f ! -name '.*' -printf "%P\n" | while read f; do
if [ ! -f "${modextractdir}/${f}" ]; then
Expand Down

0 comments on commit aa6291c

Please sign in to comment.