hdf5/debian/libhdf5-flavor-dev.prerm.in

17 lines
273 B
Bash

#!/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