[fix] check preun and postun arg

This commit is contained in:
samuel 2023-02-01 15:56:50 +01:00
parent 6fa7cade9d
commit c9f01d322f
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ Netoik home page
ln --symbolic %{_var}/netoik-api/captcha %{_var}/www/%{name}/assets/img/captcha ln --symbolic %{_var}/netoik-api/captcha %{_var}/www/%{name}/assets/img/captcha
%preun %preun
rm %{_var}/www/%{name}/assets/img/captcha $1 -eq 0 && rm %{_var}/www/%{name}/assets/img/captcha
%files %files
%define bootstrap_version %(make bootstrap_version) %define bootstrap_version %(make bootstrap_version)