bugfixing
This commit is contained in:
parent
4976f23fdc
commit
1e76e92fca
@ -282,6 +282,8 @@ function apply_patch ()
|
|||||||
{
|
{
|
||||||
if [[ -x "$PatchDir/kf2-ranked-patch" ]]; then
|
if [[ -x "$PatchDir/kf2-ranked-patch" ]]; then
|
||||||
"$PatchDir/kf2-ranked-patch" "$AppBin" "$AppBinOrig"
|
"$PatchDir/kf2-ranked-patch" "$AppBin" "$AppBinOrig"
|
||||||
|
chmod +x "$AppBin" "$AppBinOrig"
|
||||||
|
chown "$SteamUser:$SteamUser" "$AppBin" "$AppBinOrig"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ function service_name () # $*: Instance[s]
|
|||||||
local Services=""
|
local Services=""
|
||||||
for Instance in $*
|
for Instance in $*
|
||||||
do
|
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"
|
Services+=" kf2-srv${KF2POSTFIX}-orig@$Instance.service"
|
||||||
else
|
else
|
||||||
Services+=" kf2-srv${KF2POSTFIX}@$Instance.service"
|
Services+=" kf2-srv${KF2POSTFIX}@$Instance.service"
|
||||||
|
Loading…
Reference in New Issue
Block a user