File: _postinst

package info (click to toggle)
smlnj-runtime 110.44-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,968 kB
  • ctags: 5,368
  • sloc: ansic: 24,674; asm: 4,195; makefile: 1,353; sh: 91
file content (13 lines) | stat: -rw-r--r-- 319 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
set -e

if [ ! -e @compatlocalheapdir@ ]; then
    if mkdir -p @compatlocalheapdir@ 2>/dev/null; then
	chown root:staff @compatlocalheapdir@
	chmod 2775 @compatlocalheapdir@
    fi
fi

if [ -e @compatlocalheapdir@ -a ! -e @localheapdir@ ]; then
    ln -s @compatversion@ @localheapdir@ 2>/dev/null || true
fi