mirror of https://gitee.com/openkylin/hdf5.git
17 lines
273 B
Plaintext
17 lines
273 B
Plaintext
|
#!/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
|