source: lliurex-www/trunk/fuentes/debian/prerm @ 2047

Last change on this file since 2047 was 2047, checked in by joamuran, 3 years ago

fixed prerm bug

File size: 319 bytes
Line 
1#!/bin/sh
2
3set -e
4
5case $1 in
6        remove|purge|abort-install|disappear)
7
8                if [ -L /var/www/srv ] ; then
9       
10                        rm /var/www/srv || true
11
12                fi
13
14                if [ -L /var/www/error ] ; then
15
16                        rm /var/www/error
17                fi
18                ;;
19
20        *)
21                echo "Nothing to do"
22                ;;
23esac
24
25# Other Stuff #
26
27#DEBHELPER#
28       
29exit
Note: See TracBrowser for help on using the repository browser.