Accepting request 634891 from home:NMoreyChaisemartin:branches:science:HPC
- Remove bashism in postun scriptlet OBS-URL: https://build.opensuse.org/request/show/634891 OBS-URL: https://build.opensuse.org/package/show/science:HPC/mvapich2?expand=0&rev=49
This commit is contained in:
committed by
Git OBS Bridge
parent
4b0d49ba11
commit
761458d45b
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 10 12:15:10 UTC 2018 - nmoreychaisemartin@suse.com
|
||||
|
||||
- Remove bashism in postun scriptlet
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 5 06:54:33 UTC 2018 - nmoreychaisemartin@suse.com
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user