File: postinst

package info (click to toggle)
nosql 3.1-4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,448 kB
  • ctags: 267
  • sloc: cpp: 1,028; ansic: 915; awk: 732; perl: 502; tcl: 292; sh: 289; makefile: 44
file content (22 lines) | stat: -rw-r--r-- 556 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh -e

if [ -x  /usr/sbin/install-docs ]; then
  install-docs -i /usr/share/doc-base/nosql3
fi

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

tput bold
cat<<EOF
Please read the READMEs before using NoSQL v3.
The command line interface has changed totally, and the \`nosql' front-end is
gone. 

Please read at least section 3, Using NoSQL, before trying to use the
programs, since you must adapt the PATH variable.
EOF
tput sgr0