File: ipolish.postrm

package info (click to toggle)
ipolish 20050313-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,720 kB
  • ctags: 13
  • sloc: perl: 261; makefile: 94; awk: 43; sh: 32
file content (12 lines) | stat: -rw-r--r-- 285 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

set -e 

if [ "$1" = "purge" ] || [ "$1" = "remove" ] ; then
    rm -f /var/lib/ispell/polish.hash
    rm -f /var/lib/ispell/polish.list
    rm -f /var/lib/ispell/polish.compat
    [ ! -d /var/lib/ispell ] || rmdir --ignore-fail-on-non-empty /var/lib/ispell
fi

#DEBHELPER#