File: prerm

package info (click to toggle)
doc-linux-it 2000.01-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 8,136 kB
  • ctags: 19
  • sloc: perl: 249; makefile: 50; sh: 42
file content (27 lines) | stat: -rw-r--r-- 644 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/sh -e

L=it

#DEBHELPER#

if [ \( "$1" = "upgrade" -o "$1" = "remove" \) \
     -a -L /usr/doc/HOWTO/${L}-html ]; then
  rm -f /usr/doc/HOWTO/${L}-html
fi


if [ -x /usr/sbin/dhelp_parse ]; then
   echo -n "Unregistering documentation with dhelp..."
   /usr/sbin/dhelp_parse -d /usr/share/doc/HOWTO/${L}-html
   /usr/sbin/dhelp_parse -d /usr/share/doc/HOWTO/${L}-html/mini
   echo "done."
fi

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

#if command -v install-docs >/dev/null 2>&1; then
#	echo -n "Unregistering documentation..."
#	install-docs -r doc-linux-it_howto
#	install-docs -r doc-linux-it_mini
#	echo "done."
#fi