File: python3-petsc4py-complex.preinst

package info (click to toggle)
petsc4py 3.14.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 22,504 kB
  • sloc: javascript: 8,795; python: 8,131; ansic: 1,531; f90: 322; makefile: 316; sh: 10
file content (11 lines) | stat: -rw-r--r-- 311 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh -e

PETSC4PY_VERSION=__PETSC4PY_VERSION__
PETSC4PY_VERSION_NUMBER=$( echo ${PETSC4PY_VERSION} | sed "s/\.//g" )

# Remove alternatives links
if [ -e /usr/lib/python3/dist-packages/petsc4py ]; then
  update-alternatives --remove petsc4py /usr/lib/python3/dist-packages/petsc4py_complex
fi

#DEBHELPER#