File: postinst

package info (click to toggle)
gv 1:3.5.8-17
  • links: PTS
  • area: main
  • in suites: potato
  • size: 1,924 kB
  • ctags: 3,078
  • sloc: ansic: 25,928; sh: 153; makefile: 57
file content (24 lines) | stat: -rw-r--r-- 377 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh

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

if [ -x /usr/sbin/update-mime ]; then
  update-mime
fi

if [ -x /usr/bin/update-menus ] ; then
  update-menus
fi

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

exit 0