Imported Debian patch 110.74-1
[hcoop/zz_old/debian/smlnj.git] / debian / smlnj-runtime.postinst
diff --git a/debian/smlnj-runtime.postinst b/debian/smlnj-runtime.postinst
new file mode 100644 (file)
index 0000000..0e529f7
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+set -e
+
+SMLNJ_HOME=/usr/lib/smlnj
+
+touch $SMLNJ_HOME/lib/pathconfig
+chmod 664 $SMLNJ_HOME/lib/pathconfig
+
+$SMLNJ_HOME/bin/register bindir ../bin
+
+#DEBHELPER#