jablonka.czprosek.czf

freenet-router

Subversion Repositories:
[/] [trunk/] [freenet-router/] [DEBIAN/] [postrm] - Blame information for rev 2

 

Line No. Rev Author Line
12simandl#!/bin/bash
2 
3set -e
4 
5case "$1" in
6 remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
7 ;;
8 
9 purge)
10 # Apache
11 a2ensite default
12 a2dissite freenet-router
13 a2dissite freenet-router-ssl
14 
15 # Usefull commands
16 rm -rf /usr/local/sbin/rw
17 rm -rf /usr/local/sbin/ro
18 
19 # safe user
20 deluser --remove-home safe
21 ;;
22 
23 *)
24 echo "postrm called with unknown argument \`\$1'" >&2
25 ;;
26 
27esac
28 
29exit 0
30 

Powered by WebSVN 2.2.1