File: postinst

package info (click to toggle)
sam 4.3-14
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,456 kB
  • ctags: 1,673
  • sloc: ansic: 14,328; sh: 1,307; makefile: 315
file content (10 lines) | stat: -rw-r--r-- 206 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#! /bin/sh

set -e

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