File: postrm

package info (click to toggle)
jadetex 3.12-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,080 kB
  • ctags: 93
  • sloc: xml: 736; sh: 153; makefile: 125
file content (17 lines) | stat: -rw-r--r-- 277 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
# postrm -- don't rely on tex being installed, or anything; remove the config dirs

set -e

ETC_CONFIG=/etc/texmf/jadetex
FMTDIR=/etc/texmf/fmt.d

if [ "$1" = "purge" ]; then
    rm -rf $ETC_CONFIG || true
    rm -f ${FMTDIR}/*jadetex.cnf*
fi

#DEBHELPER#

exit 0