debian/xfonts-utils.postinst
raw| 1 | #!/bin/sh |
| 2 | |
| 3 | set -e |
| 4 | |
| 5 | EXCLUDE_DIR=/var/lib/xfonts |
| 6 | EXCLUDE=$EXCLUDE_DIR/excluded-aliases |
| 7 | |
| 8 | if [ "$1" = "configure" ]; then |
| 9 | if ! [ -f $EXCLUDE ]; then |
| 10 | [ -d $EXCLUDE_DIR ] || mkdir -m 755 -p $EXCLUDE_DIR |
| 11 | echo '!! Excluded alias files to be ignored by update-fonts-alias(8)' > $EXCLUDE |
| 12 | fi |
| 13 | fi |
| 14 | |
| 15 | #DEBHELPER# |
| 16 | |
| 17 | # vim:set ai et sw=4 ts=4 tw=80: |