File: xfonts-utils.postinst

package info (click to toggle)
xfonts-utils 1%3A7.7%2B4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,820 kB
  • ctags: 539
  • sloc: sh: 15,782; ansic: 5,389; makefile: 205
file content (17 lines) | stat: -rw-r--r-- 355 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

set -e

EXCLUDE_DIR=/var/lib/xfonts
EXCLUDE=$EXCLUDE_DIR/excluded-aliases

if [ "$1" = "configure" ]; then
    if ! [ -f $EXCLUDE ]; then
        [ -d $EXCLUDE_DIR ] || mkdir -m 755 -p $EXCLUDE_DIR
        echo '!! Excluded alias files to be ignored by update-fonts-alias(8)' > $EXCLUDE
    fi
fi

#DEBHELPER#

# vim:set ai et sw=4 ts=4 tw=80: