File: postinst

package info (click to toggle)
xtermset 0.4-2
  • links: PTS
  • area: main
  • in suites: potato, woody
  • size: 96 kB
  • ctags: 29
  • sloc: ansic: 112; makefile: 67; sh: 14
file content (11 lines) | stat: -rw-r--r-- 220 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
set -e

PACKAGE=xtermset

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