Remove files that don't exist in staging dir

This commit is contained in:
Ben Peddell 2016-09-22 23:58:00 +10:00
parent c6de96966a
commit 3de778be82

View File

@ -1612,6 +1612,11 @@ doUpdate() {
fi fi
fi fi
done done
for f in *; do
if [[ -f "${f}" && ! -e "${arkStagingDir}/${f}" ]]; then
rm "${f}"
fi
done
else else
echo -n "Performing ARK update" echo -n "Performing ARK update"
cd "$steamcmdroot" cd "$steamcmdroot"