File: prerm

package info (click to toggle)
colplot 5.2.0-1.3
  • links: PTS
  • area: main
  • in suites: trixie
  • size: 1,668 kB
  • sloc: perl: 3,244; sh: 233; makefile: 9
file content (23 lines) | stat: -rw-r--r-- 362 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

set -e

#
# Skip, if we are not in "remove" or "purge" state
# 
if [ "$1" != "remove" ] && [ "$1" != "purge" ]; then
    exit 0
fi

## Source debconf library
. /usr/share/debconf/confmodule
db_version 2.0

# Remove the site symlink
if [ -e /usr/share/colplot/site/index.cgi ] ; then
    rm -f /usr/share/colplot/site/index.cgi
fi

#DEBHELPER#
exit 0