forked from pool/mvapich2
Accepting request 633986 from home:NMoreyChaisemartin:branches:science:HPC
Fix == OBS-URL: https://build.opensuse.org/request/show/633986 OBS-URL: https://build.opensuse.org/package/show/science:HPC/mvapich2?expand=0&rev=48
This commit is contained in:
parent
11397ed657
commit
4b0d49ba11
@ -441,7 +441,7 @@ mkdir -p %{buildroot}%{_sysconfdir}/rpm
|
||||
/sbin/ldconfig
|
||||
%if %{without hpc}
|
||||
# Only unregister when uninstalling
|
||||
if [ "$1" == "0" ]; then
|
||||
if [ "$1" = "0" ]; then
|
||||
/usr/bin/mpi-selector --unregister %{name}%{?pack_suff} --yes
|
||||
# Deregister the default if we are uninstalling it
|
||||
if [ "$(/usr/bin/mpi-selector --system --query)" == "%{name}%{?pack_suff}"]; then
|
||||
|
Loading…
Reference in New Issue
Block a user