author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Thu, 28 Jan 2016 14:34:47 +0100 | |
changeset 11317 | 4085a452b6b4 |
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 |