author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Mon, 20 Jun 2016 17:59:43 +0200 | |
changeset 11359 | 2da2dd60331c |
parent 10559 | 5821ae654dfd |
child 11832 | e8be49ecb522 |
permissions | -rw-r--r-- |
0 | 1 |
#!/bin/sh -e |
10559
5821ae654dfd
[pkg] various debian packaging fixes
Julien Cristau <julien.cristau@logilab.fr>
parents:
0
diff
changeset
|
2 |
|
5821ae654dfd
[pkg] various debian packaging fixes
Julien Cristau <julien.cristau@logilab.fr>
parents:
0
diff
changeset
|
3 |
if [ "$1" = "remove" ]; then |
0 | 4 |
update-rc.d cubicweb remove >/dev/null |
5 |
fi |
|
6 |
||
10559
5821ae654dfd
[pkg] various debian packaging fixes
Julien Cristau <julien.cristau@logilab.fr>
parents:
0
diff
changeset
|
7 |
if [ "$1" = "purge" ] ; then |
5821ae654dfd
[pkg] various debian packaging fixes
Julien Cristau <julien.cristau@logilab.fr>
parents:
0
diff
changeset
|
8 |
rm -rf /etc/cubicweb.d/ |
5821ae654dfd
[pkg] various debian packaging fixes
Julien Cristau <julien.cristau@logilab.fr>
parents:
0
diff
changeset
|
9 |
rm -rf /var/log/cubicweb/ |
5821ae654dfd
[pkg] various debian packaging fixes
Julien Cristau <julien.cristau@logilab.fr>
parents:
0
diff
changeset
|
10 |
rm -rf /var/lib/cubicweb/ |
5821ae654dfd
[pkg] various debian packaging fixes
Julien Cristau <julien.cristau@logilab.fr>
parents:
0
diff
changeset
|
11 |
fi |
5821ae654dfd
[pkg] various debian packaging fixes
Julien Cristau <julien.cristau@logilab.fr>
parents:
0
diff
changeset
|
12 |
|
0 | 13 |
#DEBHELPER# |
14 |
||
15 |
exit 0 |