mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-16 20:38:27 +00:00
Fix the mod install hardlink error properly
This commit is contained in:
parent
d50c1a811d
commit
aa6291c055
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user