File: prerm

package info (click to toggle)
xserver-rage128 0.990906-4
  • links: PTS
  • area: non-free
  • in suites: potato
  • size: 2,628 kB
  • ctags: 4
  • sloc: sh: 300; makefile: 32
file content (24 lines) | stat: -rw-r--r-- 587 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh
# Debian bubble package pre-removal script
# Copyright 1998, 1999 Branden Robinson.
# Licensed under the GNU General Public License, version 2.  See the file
# /usr/share/common-licenses/GPL or <http://www.gnu.org/copyleft/gpl.txt>.
# Acknowlegements to Stephen Early, Mark Eichin, and Manoj Srivastava.

set -e

trap "echo ;\
      echo 'Received signal.  Aborting removal of bubble package.' ;\
      echo ;\
      exit 1" 1 2 3 15

case "$1" in
  remove) ;;
  upgrade|failed-upgrade|deconfigure) exit 0 ;;
esac

if [ -L /usr/doc/bubble ]; then
  rm /usr/doc/bubble
fi

exit