forked from pool/mvapich2
Accepting request 636121 from home:NMoreyChaisemartin:branches:science:HPC
Fix scriptlet OBS-URL: https://build.opensuse.org/request/show/636121 OBS-URL: https://build.opensuse.org/package/show/science:HPC/mvapich2?expand=0&rev=50
This commit is contained in:
parent
761458d45b
commit
2c31a2b8fa
@ -444,7 +444,7 @@ mkdir -p %{buildroot}%{_sysconfdir}/rpm
|
||||
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
|
||||
if [ "$(/usr/bin/mpi-selector --system --query)" = "%{name}%{?pack_suff}" ]; then
|
||||
/usr/bin/mpi-selector --system --unset --yes
|
||||
fi
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user