author | Adrien Di Mascio <Adrien.DiMascio@logilab.fr> |
Mon, 10 Oct 2016 14:27:24 +0200 | |
changeset 11728 | b96bed36765d |
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 |