[fix] Missing braces for condition in spec file
This commit is contained in:
parent
c9f01d322f
commit
a93ed4637b
|
@ -24,7 +24,7 @@ Netoik home page
|
|||
ln --symbolic %{_var}/netoik-api/captcha %{_var}/www/%{name}/assets/img/captcha
|
||||
|
||||
%preun
|
||||
$1 -eq 0 && rm %{_var}/www/%{name}/assets/img/captcha
|
||||
[ $1 -eq 0 ] && rm %{_var}/www/%{name}/assets/img/captcha
|
||||
|
||||
%files
|
||||
%define bootstrap_version %(make bootstrap_version)
|
||||
|
|
Loading…
Reference in New Issue