mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-11 18:48:26 +00:00
Remove incorrect quoting in installmod and uninstallmod
This commit is contained in:
parent
1c7a3d8180
commit
46a157d0dc
@ -2397,7 +2397,7 @@ doInstallMod(){
|
||||
local modid
|
||||
local steamdataroot="${steamdataroot:-${steamcmdroot}}"
|
||||
local steamworkshopdir="${steamworkshopdir:-${steamdataroot}/steamapps/workshop}"
|
||||
for modid in "${1//,/ }"; do
|
||||
for modid in ${1//,/ }; do
|
||||
if [[ " $* " =~ *" --validate " ]]; then
|
||||
if [ -f "${steamworkshopdir}/appworkshop_${mod_appid}.acf" ]; then
|
||||
sed -i "/^\\t\\t\"${modid}\"/,/^\\t\\t}/d" "${steamworkshopdir}/appworkshop_${mod_appid}.acf"
|
||||
@ -2436,7 +2436,7 @@ doUninstallAllMods(){
|
||||
#
|
||||
doUninstallMod(){
|
||||
local modid
|
||||
for modid in "${1//,/ }"; do
|
||||
for modid in ${1//,/ }; do
|
||||
local moddir="$arkserverroot/ShooterGame/Content/Mods/$modid"
|
||||
local modfile="$arkserverroot/ShooterGame/Content/Mods/${modid}.mod"
|
||||
if [ -d "${moddir}" ]; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user