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