File: wgerman.prerm

package info (click to toggle)
hkgerman 2-13
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,332 kB
  • ctags: 6
  • sloc: makefile: 102; sh: 78; sed: 15
file content (16 lines) | stat: -rw-r--r-- 306 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /bin/sh

set -e

update-alternatives --remove dictionary /usr/share/dict/german

if [ "$1" = "purge" -o "$1" = "remove" ]
then
  update-alternatives --remove dictionary /usr/share/dict/german
fi

if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/wgerman ]
then 
  rm -f /usr/doc/wgerman
fi