Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37845175
en ru br
ALT Linux repos
S:1.0.3-alt4
5.0: 1.0.2-alt0.M50.1
4.1: 1.0.2-alt0.M41.1

Group :: System/Base
RPM: mpi-selector

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

#!/bin/sh -e

if ! [ "$RPM_INSTALL_ARG1" -ge 0 ] 2>/dev/null; then
echo "post_service: invalid or undefined variable: RPM_INSTALL_ARG1" >&2
exit 1
fi

if [ $# -ne 1 ]; then
echo "Usage: preun_mpi_selector <mpi-name>" >&2
exit 1
fi

if [ "$RPM_INSTALL_ARG1" -eq 0 ]; then
/usr/bin/mpi-selector --unregister "$1" --yes >/dev/null 2>/dev/null ||:
fi
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin