File: console-setup.postrm

package info (click to toggle)
console-setup 1.221
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 39,720 kB
  • sloc: perl: 11,199; xml: 8,643; sh: 3,972; makefile: 804
file content (16 lines) | stat: -rw-r--r-- 231 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

set -e

if [ purge = "$1" ]; then
    rm -f /etc/default/console-setup
fi

if [ remove = "$1" -o purge = "$1" ]; then
    if [ ! -f /bin/setupcon ]; then
        rm -f /etc/console-setup/cached_*
    fi
fi


#DEBHELPER#