bugfixing
This commit is contained in:
parent
4976f23fdc
commit
1e76e92fca
@ -282,6 +282,8 @@ function apply_patch ()
|
||||
{
|
||||
if [[ -x "$PatchDir/kf2-ranked-patch" ]]; then
|
||||
"$PatchDir/kf2-ranked-patch" "$AppBin" "$AppBinOrig"
|
||||
chmod +x "$AppBin" "$AppBinOrig"
|
||||
chown "$SteamUser:$SteamUser" "$AppBin" "$AppBinOrig"
|
||||
fi
|
||||
}
|
||||
|
||||
|
@ -45,7 +45,7 @@ function service_name () # $*: Instance[s]
|
||||
local Services=""
|
||||
for Instance in $*
|
||||
do
|
||||
if multini -g "$InstanceConfigDir/$Instance" '' "UseOrigApp" 2> /dev/null | grep -Piqo '^True$' && test -x "$AppBinOrig"; then
|
||||
if multini -g "$InstanceConfigDir/$Instance/instance.conf" '' "UseOrigApp" 2> /dev/null | grep -Piqo '^True$' && test -x "$AppBinOrig"; then
|
||||
Services+=" kf2-srv${KF2POSTFIX}-orig@$Instance.service"
|
||||
else
|
||||
Services+=" kf2-srv${KF2POSTFIX}@$Instance.service"
|
||||
|
Loading…
x
Reference in New Issue
Block a user