Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Minor fixups for Debian.

  • Loading branch information...
commit 7677986ab7c83cf477158a36cec65c16ca835d07 1 parent a4e79e8
@kreuter kreuter authored
Showing with 6 additions and 3 deletions.
  1. +2 −2 debian/postinst
  2. +4 −1 debian/rules
View
4 debian/postinst
@@ -29,11 +29,11 @@ case "$1" in
# create db -- note: this should agree with dbpath in mongodb.conf
mkdir -p /var/lib/mongodb
- chown mongodb:mongodb /var/lib/mongodb
+ chown -R mongodb:mongodb /var/lib/mongodb
# create logdir -- note: this should agree with logpath in mongodb.conf
mkdir -p /var/log/mongodb
- chown mongodb:mongodb /var/log/mongodb
+ chown -R mongodb:mongodb /var/log/mongodb
;;
abort-upgrade|abort-remove|abort-deconfigure)
View
5 debian/rules
@@ -35,7 +35,10 @@ clean:
dh_testroot
rm -f build-stamp configure-stamp
- scons -c
+ # FIXME: scons freaks out at the presence of target files
+ # under debian/mongodb.
+ #scons -c
+ rm -rf $(CURDIR)/debian/mongodb
rm -f config.log
rm -f mongo
rm -f mongod
Please sign in to comment.
Something went wrong with that request. Please try again.