mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-12 19:08:27 +00:00
Merge pull request #256 from klightspeed/1.4#fixupdateneeded
Fix mod update not being detected
This commit is contained in:
commit
63c2abad6e
@ -917,11 +917,11 @@ isModUpdateNeeded(){
|
||||
modsrcdir="$modsrcdir/${modbranch}NoEditor"
|
||||
fi
|
||||
|
||||
find "$modsrcdir" -type f ! -name "*.z.uncompressed_size" -printf "%P\n" | while read f; do
|
||||
while read f; do
|
||||
if [ \( ! -f "$moddestdir/${f%.z}" \) -o "$modsrcdir/$f" -nt "$moddestdir/${f%.z}" ]; then
|
||||
return 0
|
||||
fi
|
||||
done
|
||||
done < <(find "$modsrcdir" -type f ! -name "*.z.uncompressed_size" -printf "%P\n")
|
||||
fi
|
||||
|
||||
return 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user