File: postrm

package info (click to toggle)
console-cyrillic 0.9-8
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,216 kB
  • ctags: 118
  • sloc: cpp: 3,917; sh: 3,154; perl: 738; makefile: 139
file content (14 lines) | stat: -rw-r--r-- 288 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e

if [ "$1" = "purge" -a -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