File: postrm

package info (click to toggle)
console-cyrillic 0.9-18
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,336 kB
  • sloc: cpp: 4,132; sh: 2,768; perl: 752; makefile: 106
file content (14 lines) | stat: -rwxr-xr-x 292 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e

if [ "$1" = "purge" ] && [ -e /usr/share/debconf/confmodule ]; then
    . /usr/share/debconf/confmodule
    db_purge
fi

if [ purge = "$1" ]; then
    rm -f /etc/console-cyrillic
    rm -f /etc/console-cyrillic.debconf
    update-rc.d console-cyrillic remove >/dev/null
fi