From dddc45b9c5f4eae50e10c98d3e646292d2d8b6bf Mon Sep 17 00:00:00 2001 From: GenZmeY Date: Fri, 14 Aug 2020 14:59:43 +0300 Subject: [PATCH] fix: bash completion for kf2-srv-beta. --- Makefile | 4 ++-- SOURCES/main/bash_completion/kf2-srv | 4 ++-- SPECS/kf2-srv.spec | 5 ++++- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index bec7770..86056d9 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/SOURCES/main/bash_completion/kf2-srv b/SOURCES/main/bash_completion/kf2-srv index 15f88bd..9413daf 100644 --- a/SOURCES/main/bash_completion/kf2-srv +++ b/SOURCES/main/bash_completion/kf2-srv @@ -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 () { diff --git a/SPECS/kf2-srv.spec b/SPECS/kf2-srv.spec index f46d91f..97fd5b0 100644 --- a/SPECS/kf2-srv.spec +++ b/SPECS/kf2-srv.spec @@ -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 - 0.15.1-1 +- fix bash completion for kf2-srv-beta. + * Thu Aug 13 2020 GenZmeY - 0.15.0-1 - bash completion support.