Fix postun scriplet failure
Resolves: rhbz#1929842
This commit is contained in:
parent
5ba64c6880
commit
f5aee6ac83
@ -249,7 +249,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 mvn %{homedir}/bin/mvn
|
||||
if [[ $1 -eq 0 ]]; then update-alternatives --remove mvn %{homedir}/bin/mvn; fi
|
||||
|
||||
|
||||
%files -n %{?module_prefix}%{name}-lib -f .mfiles
|
||||
|
Loading…
Reference in New Issue
Block a user