Fix postun scriplet failure

Resolves: rhbz#1767324
This commit is contained in:
Mikolaj Izdebski 2019-10-31 08:53:29 +01:00
parent 3e670f14fc
commit 755627b558

View File

@ -230,7 +230,7 @@ update-alternatives --install %{_bindir}/mvn mvn %{homedir}/bin/mvn %{?maven_alt
--slave %{_mandir}/man1/mvnDebug.1.gz mvnDebug1 %{homedir}/bin/mvn.1.gz \
%postun -n %{?module_prefix}%{name}
[[ $1 -eq 0 ]] && update-alternatives --remove %{name} %{homedir}/bin/mvn
[[ $1 -eq 0 ]] && update-alternatives --remove mvn %{homedir}/bin/mvn
%files -n %{?module_prefix}%{name}-lib -f .mfiles