#!/bin/sh #---------------------------------------------------------------------------- # /var/install/deinstall/openmpi1 - deinstall script # # Creation : 2018-03-17 holbru # Last update: $Id$ # # Copyright (c) 2018-@@YEAR@@ Holger Bruenjes, holgerbruenjes(at)gmx(dot)net # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. #---------------------------------------------------------------------------- # set package name package_name=openmpi1 # check for update is given if [ "${1}" = "--update" ] then update=true fi /usr/bin/mpi-selector --unregister openmpi1 --yes if [ "$(/usr/bin/mpi-selector --system --query)" = "openmpi1" ] then /usr/bin/mpi-selector --system --unset --yes openmpi1 fi exit 0 # --------------------------------------------------------------------------- # end # ---------------------------------------------------------------------------