File: postinst

package info (click to toggle)
slib 2c7-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 2,216 kB
  • ctags: 1,613
  • sloc: lisp: 19,483; makefile: 334; sh: 144
file content (17 lines) | stat: -rw-r--r-- 453 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
set -e

install-info --quiet --section "Development" "Development" \
  --description="The SLIB portable Scheme library" \
  /usr/share/info/slib.info.gz

# OK.  This is bad because it really should be in the guile config or in some
# emacs-commond sort of package.
#/usr/sbin/slibconfig

if [ "$1" = "configure" ]; then
	if [ -d /usr/doc -a ! -e /usr/doc/slib -a -d /usr/share/doc/slib ]; then
		ln -sf ../share/doc/slib /usr/doc/slib
	fi
fi