2005-04-23 14:35:36 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
if [ "$2" = "POST-INSTALL" ]; then
|
|
|
|
echo "${PKG_PREFIX}/lib/ocaml/site-lib/sem" >> ${PKG_PREFIX}/lib/ocaml/ld.conf
|
|
|
|
elif [ "$2" = "DEINSTALL" ]; then
|
|
|
|
mv ${PKG_PREFIX}/lib/ocaml/ld.conf ${PKG_PREFIX}/lib/ocaml/ld.conf.tmp
|
|
|
|
grep -v sem ${PKG_PREFIX}/lib/ocaml/ld.conf.tmp > ${PKG_PREFIX}/lib/ocaml/ld.conf
|
|
|
|
rm -f ${PKG_PREFIX}/lib/ocaml/ld.conf.tmp
|
2005-05-27 19:59:30 +02:00
|
|
|
chmod 0644 ${PKG_PREFIX}/lib/ocaml/ld.conf
|
2005-04-23 14:35:36 +02:00
|
|
|
fi
|