Fix postun script (#1565699)

Resolves: #1565699
This commit is contained in:
Jan Synacek 2018-05-04 08:59:33 +02:00
parent 28aace95b8
commit 82ec8e1195

View File

@ -2,7 +2,7 @@
Name: environment-modules
Version: 4.1.2
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Provides dynamic modification of a user's environment
Group: System Environment/Base
@ -135,7 +135,7 @@ fi
%postun
if [ $1 -eq 0 ] ; then
%{_sbindir}/update-alternatives --remove modules.sh %{_datadir}/Modules/init/modules.sh
%{_sbindir}/update-alternatives --remove modules.sh %{_datadir}/Modules/init/profile.sh
fi
%postun compat
@ -175,6 +175,9 @@ fi
%changelog
* Fri May 4 2018 Jan Synáček <jsynacek@redhat.com> - 4.1.2-2
- Fix postun script (#1565699)
* Tue Apr 3 2018 Jan Synáček <jsynacek@redhat.com> - 4.1.2-1
- Update to 4.1.2 (#1562535)