File: postinst

package info (click to toggle)
pacman 10-13
  • links: PTS
  • area: main
  • in suites: woody
  • size: 664 kB
  • ctags: 1,108
  • sloc: cpp: 3,333; makefile: 502; sh: 96
file content (11 lines) | stat: -rw-r--r-- 266 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

PACKAGE=pacman

if test -x /usr/bin/update-menus; then update-menus; fi

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