File: postrm.in

package info (click to toggle)
dictionaries-common 1.31.3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,128 kB
  • sloc: lisp: 5,521; perl: 3,163; sh: 199; makefile: 179
file content (15 lines) | stat: -rw-r--r-- 497 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
rmscript="[A:update-dictcommon-aspell:A][H:update-dictcommon-hunspell:H][IW:remove-default-[I:ispell:][W:wordlist:]:IW]"

case "$1" in abort-install|remove)
	if command -v $rmscript >/dev/null; then
	    $rmscript [IW:#PACKAGE#:IW]
	else
	    echo "Warning: $rmscript not present or executable." >&2
	fi
[IW:
        # Remove shared question stuff on package removal, not only on purge
	if [ -e /usr/share/debconf/confmodule ]; then
	    . /usr/share/debconf/confmodule
	    db_purge
	fi
:IW]esac