3
# Copyright 2009, Noah Slater <nslater@tumbolia.org>
5
# Copying and distribution of this file, with or without modification, are
6
# permitted in any medium without royalty provided the copyright notice and this
7
# notice are preserved.
13
if test -d "/etc/couchdb"; then
14
rmdir --ignore-fail-on-non-empty "/etc/couchdb" || true
16
if test -d "/var/lib/couchdb/$VERSION"; then
17
rmdir --ignore-fail-on-non-empty "/var/lib/couchdb/$VERSION" || true
19
if test -d "/var/lib/couchdb"; then
20
rmdir --ignore-fail-on-non-empty "/var/lib/couchdb" || true
22
if test -d "/var/log/couchdb/$VERSION"; then
23
rmdir --ignore-fail-on-non-empty "/var/log/couchdb/$VERSION" || true
25
if test -d "/var/log/couchdb"; then
26
rmdir --ignore-fail-on-non-empty "/var/log/couchdb" || true
28
if test -d "/var/run/couchdb"; then
29
rmdir --ignore-fail-on-non-empty "/var/run/couchdb" || true