fix: correct old kf2-srv execs

This commit is contained in:
2020-08-08 03:47:28 +03:00
parent acf65d3c16
commit 89e09826f7
3 changed files with 14 additions and 14 deletions

View File

@ -83,8 +83,8 @@ rm -rf $RPM_BUILD_ROOT
%preun
if [[ $1 -eq 0 ]] ; then # Uninstall
%{_bindir}/%{name} --stop
%{_bindir}/%{name} --disable
%{_bindir}/%{name} instance stop
%{_bindir}/%{name} instance disable
rm -rf %{_prefix}/games/%{name}/*
rm -rf %{_prefix}/games/%{name}-beta/*
rm -rf %{_sysconfdir}/%{name}/instances/default