fix: typo and systemd check
This commit is contained in:
parent
d5e1768633
commit
620f76352f
@ -67,7 +67,7 @@ build:
|
||||
fake-systemd-build:
|
||||
find $(SOURCEDIR)/main -type f -name '*.service' -exec cp -f {} $(RELEASEDIR)/{} \;
|
||||
find $(RELEASEDIR) -type f -exec sed -i 's|:DEFINE_PREFIX:|$(DESTDIR)$(PREFIX)|g;' {} \;
|
||||
find $(RELEASEDIR) -type f -exec sed -i -r 's|ExecStart=.+KFGameSteamServer.bin.x86_64|ExecStart=/bin/bash|g;' {} \;
|
||||
find $(RELEASEDIR) -type f -exec sed -i -r 's|ExecStart=.+KFGameSteamServer.bin.x86_64.*|ExecStart=/bin/bash|g;' {} \;
|
||||
|
||||
filesystem:
|
||||
test -d '$(CONFDIR)' || install -m 775 -d '$(CONFDIR)'
|
||||
|
@ -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"
|
||||
if multini -g "$InstanceConfigDir/$Instance" '' "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…
Reference in New Issue
Block a user