File: console-setup.postrm

package info (click to toggle)
console-setup 1.205
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 31,120 kB
  • sloc: perl: 11,045; xml: 8,643; sh: 3,928; makefile: 794
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#