File: prerm

package info (click to toggle)
fdutils 5.3-3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 1,004 kB
  • ctags: 621
  • sloc: ansic: 6,098; sh: 2,236; makefile: 279; sed: 4
file content (14 lines) | stat: -rw-r--r-- 353 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

install-info --quiet --remove /usr/share/info/fdutils.info.gz

if command -v install-docs >/dev/null 2>&1; then
    install-docs -r fdutils
    install-docs -r fdutils-faq
fi

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