File: libhdf5-flavor-dev.prerm.in

package info (click to toggle)
hdf5 1.10.0-patch1%2Bdocs-3%2Bdeb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 143,568 kB
  • sloc: ansic: 472,614; f90: 28,734; java: 27,116; xml: 17,791; sh: 16,757; cpp: 14,937; makefile: 1,769; perl: 1,339; yacc: 338; lex: 184; ruby: 24
file content (16 lines) | stat: -rw-r--r-- 273 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

set -e

if [ "$1" != "upgrade" ]; then
  if [ "@FLAVOR@" != "serial" ]; then
    update-alternatives \
	--remove h5pcc /usr/bin/h5pcc.@FLAVOR@
  fi
  update-alternatives \
	--remove hdf5.pc /usr/lib/@MULTIARCH@/pkgconfig/hdf5-@FLAVOR@.pc
fi

#DEBHELPER#

exit 0