debian/cubicweb-ctl.postrm
author Julien Cristau <julien.cristau@logilab.fr>
Mon, 09 Nov 2015 15:29:07 +0100
changeset 10871 1d4a94d04ec6
parent 10559 5821ae654dfd
child 11832 e8be49ecb522
permissions -rw-r--r--
[dataimport] remove replace_sep parameter from massive store It is unused since changeset efbbf1e93a04 "[dataimport] Properly escape strings sent to COPY FROM"
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