[fix] Missing braces for condition in spec file

This commit is contained in:
samuel 2023-02-02 16:42:24 +01:00
parent a17d9372bc
commit 82c6f7af2a
1 changed files with 2 additions and 2 deletions

View File

@ -33,10 +33,10 @@ systemctl daemon-reload
systemctl restart %{name}-server.service systemctl restart %{name}-server.service
%preun %preun
$1 -eq 0 && systemctl stop %{name}-server.service [ $1 -eq 0 ] && systemctl stop %{name}-server.service
%postun %postun
$1 -eq 0 && systemctl daemon-reload && userdel %{name} [ $1 -eq 0 ] && systemctl daemon-reload && userdel %{name}
%files %files
%attr(755, root, root) %dir %{_var}/%{name} %attr(755, root, root) %dir %{_var}/%{name}