From 755627b55857be9fe44c44c7e06e97ad593a63a1 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Thu, 31 Oct 2019 08:53:29 +0100 Subject: [PATCH] Fix postun scriplet failure Resolves: rhbz#1767324 --- maven.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maven.spec b/maven.spec index 6842033..c048ecd 100644 --- a/maven.spec +++ b/maven.spec @@ -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