author | Julien Cristau <julien.cristau@logilab.fr> |
Fri, 20 Nov 2015 12:37:15 +0100 | |
changeset 10850 | 928c7ec525e0 |
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 |