blob: e3d425c635d05b50c6acaf65bdaa92fedb2f54a9 (
plain)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
#!/bin/sh
set -e
FILES=" Lat15-Terminus12x6.psf.gz
Lat15-TerminusBold14.psf.gz
Lat15-Terminus14.psf.gz
Lat15-TerminusBoldVGA14.psf.gz
Lat15-TerminusBold16.psf.gz
Lat15-Terminus16.psf.gz
Lat15-TerminusBoldVGA16.psf.gz
Lat15-TerminusBold20x10.psf.gz
Lat15-Terminus20x10.psf.gz
Lat15-TerminusBold22x11.psf.gz
Lat15-Terminus22x11.psf.gz
Lat15-TerminusBold24x12.psf.gz
Lat15-Terminus24x12.psf.gz
Lat15-TerminusBold28x14.psf.gz
Lat15-Terminus28x14.psf.gz
Lat15-TerminusBold32x16.psf.gz
Lat15-Terminus32x16.psf.gz"
case "${1}" in
install)
mkdir -p /usr/lib/powerline/divert
for FILE in ${FILES}
do
dpkg-divert --package fonts-powerline-extra --quiet --add --rename --divert /usr/lib/powerline/divert/${FILE}.orig /usr/share/consolefonts/${FILE}
done
;;
abort-upgrade|upgrade)
;;
*)
echo "preinst called with unknown argument \`${1}'" >&2
exit 1
;;
esac
#DEBHELPER#
exit 0
|