diff options
Diffstat (limited to 'databases/ocaml-sqlite3/files/pkg-deinstall.in')
-rw-r--r-- | databases/ocaml-sqlite3/files/pkg-deinstall.in | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/databases/ocaml-sqlite3/files/pkg-deinstall.in b/databases/ocaml-sqlite3/files/pkg-deinstall.in new file mode 100644 index 000000000000..d26108142739 --- /dev/null +++ b/databases/ocaml-sqlite3/files/pkg-deinstall.in @@ -0,0 +1,12 @@ +#! /bin/sh +# + +if [ "x$2" = "xPOST-DEINSTALL" ]; then + ldconf="%%PREFIX%%/lib/ocaml/ld.conf" + + cat ${ldconf} | grep -v sqlite3 > ${ldconf}.tmp + mv ${ldconf}.tmp ${ldconf} +fi + +exit 0 + |