mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-12 10:58:28 +00:00
Only try to remove .mod if it exists
This commit is contained in:
parent
7014502ee1
commit
fe11e77f0f
@ -1350,7 +1350,9 @@ doExtractMod(){
|
||||
|
||||
modname="$(curl -s "http://steamcommunity.com/sharedfiles/filedetails/?id=${modid}" | sed -n 's|^.*<div class="workshopItemTitle">\([^<]*\)</div>.*|\1|p')"
|
||||
|
||||
rm "${moddestdir}/.mod"
|
||||
if [ -f "${moddestdir}/.mod" ]; then
|
||||
rm "${moddestdir}/.mod"
|
||||
fi
|
||||
|
||||
perl -e '
|
||||
my $data;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user