From aa6291c05502db69b21a5764d2adb19f8b6a5342 Mon Sep 17 00:00:00 2001 From: Ben Peddell Date: Tue, 21 Feb 2017 04:38:58 +1000 Subject: [PATCH] Fix the mod install hardlink error properly --- tools/arkmanager | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/arkmanager b/tools/arkmanager index 6c01ac9..d86fb71 100755 --- a/tools/arkmanager +++ b/tools/arkmanager @@ -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