debian/cubicweb-ctl.postrm
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 27 Jan 2016 21:59:34 +0100
changeset 11305 118d83e65ca8
parent 10559 5821ae654dfd
child 11832 e8be49ecb522
permissions -rw-r--r--
[dataimport] remove useless assignment in massive store
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
     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
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
     4
        update-rc.d cubicweb remove >/dev/null
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
     5
fi
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
     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
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    13
#DEBHELPER#
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    14
 
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    15
exit 0