fix: bash completion for kf2-srv-beta.

This commit is contained in:
GenZmeY 2020-08-14 14:59:43 +03:00
parent ea649350fc
commit 878f1a1ab0
3 changed files with 8 additions and 5 deletions

View File

@ -83,11 +83,11 @@ check-activate:
clean-tmp:
rm -rf $(BUILDDIR)
rm -rf $(BUILDROOTDIR)
rm -rf $(SOURCETARBALL)
rm -f $(SOURCETARBALL)
clean-pkg:
rm -rf $(RPMSDIR)
rm -rf $(SRPMSDIR)
clean: clean-tmp clean-pkg
rm -f $(SOURCESDIR)/$(NAME)-*.tar.gz

View File

@ -22,8 +22,8 @@
function _kf2_srv_completions () # $1: BetaPostfix
{
local GrpDir=":DEFINE_PREFIX:/share/kf2-srv/cmdgrp"
local InsDir="/etc/kf2-srv/instances${BetaPostfix}"
local KF2Srv=":DEFINE_PREFIX:/bin/kf2-srv${BetaPostfix}"
local InsDir="/etc/kf2-srv/instances${1}"
local KF2Srv=":DEFINE_PREFIX:/bin/kf2-srv${1}"
function groups_list ()
{

View File

@ -1,7 +1,7 @@
%global steamuser steam
Name: kf2-srv
Version: 0.15.0
Version: 0.15.1
Release: 1%{dist}
Summary: Killing Floor 2 server
Group: Amusements/Games
@ -101,6 +101,9 @@ if [[ $1 == 1 ]]; then # Install
fi
%changelog
* Thu Aug 14 2020 GenZmeY <genzmey@gmail.com> - 0.15.1-1
- fix bash completion for kf2-srv-beta.
* Thu Aug 13 2020 GenZmeY <genzmey@gmail.com> - 0.15.0-1
- bash completion support.