File: t1-teams.preinst

package info (click to toggle)
scalable-cyrfonts 4.17%2Bnmu1
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 10,836 kB
  • sloc: awk: 639; sh: 457; makefile: 244; perl: 239; sed: 138; ansic: 35
file content (27 lines) | stat: -rw-r--r-- 391 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#! /bin/sh

set -e

case "$1" in
    install|upgrade)
        if dpkg --compare-versions "$2" lt 4.14; then
	    if [ -x "which defoma-font 2>/dev/null" ]; then
		defoma-font purge /etc/defoma/hints/t1-teams.hints
	    fi
        fi
        ;;

    abort-upgrade)
    ;;

    *)
        echo "preinst called with unknown argument \`$1'" >&2
        exit 0
    ;;
esac

#DEBHELPER#

exit 0