File: postrm

package info (click to toggle)
gnuplot 3.7.2-4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 6,212 kB
  • ctags: 4,635
  • sloc: ansic: 43,538; cpp: 970; makefile: 883; lisp: 661; sh: 578; asm: 539; objc: 379; csh: 297; pascal: 192; perl: 138
file content (15 lines) | stat: -rw-r--r-- 346 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh -e

# $Id: postrm,v 1.10 2001/06/12 13:36:45 thimo Exp $

# does this package get purged?
if [ "$1" = "purge" ] ; then
  # remove old configfile if still present
  rm -f /etc/gnuplot.conf
  # also delete the eventual statoverride (if set)
  set +e
  dpkg-statoverride --remove /usr/bin/gnuplot > /dev/null 2>&1
  set -e
fi

#DEBHELPER#