@@ -8,7 +8,8 @@
 
 case $1 in
     configure)
-        mkdir -p /var/lib/couchdb
+        test -d /var/log/couchdb || mkdir -p /var/log/couchdb
+        test -d /var/lib/couchdb || mkdir -p /var/lib/couchdb
         chown -R couchdb:couchdb /var/lib/couchdb
         chown -R couchdb:couchdb /var/log/couchdb
         chmod -R 0770 /var/lib/couchdb

The test is unnecessary, mkdir -p already implies this.

Also, the attached debdiff includes another patch for a bug that's
marked private.  Please unmark the bug as private (if it doesn't contain
information that needs to be private), or create a public bug report
that's a suitable reference for the upload changelog.

-- 
couchdb fails to install because /var/log/couchdb does not exist
https://bugs.launchpad.net/bugs/453049
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to