Skip to content

Commit

Permalink
some debian stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
erh committed Aug 6, 2009
1 parent de9543f commit ade581a
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Expand Up @@ -81,3 +81,8 @@ authTest
perftest
clientTest

#debian
build-stamp
configure-stamp
debian/mongodb
debian/mongodb.*
2 changes: 1 addition & 1 deletion debian/changelog
@@ -1,4 +1,4 @@
mongodb (0.9.3-1) unstable; urgency=low
mongodb (0.9.7) unstable; urgency=low

* Initial release

Expand Down
2 changes: 1 addition & 1 deletion debian/files
@@ -1 +1 @@
mongodb_0.9.3-1_i386.deb devel optional
mongodb_0.9.7_amd64.deb devel optional
2 changes: 1 addition & 1 deletion debian/postinst
Expand Up @@ -22,7 +22,7 @@ case "$1" in
configure)
# create a mongodb group and user
if ! grep -q mongodb /etc/passwd; then
useradd --password mongodb --user-group mongodb
useradd --user-group mongodb
fi

# create db
Expand Down
8 changes: 4 additions & 4 deletions debian/rules 100644 → 100755
Expand Up @@ -13,7 +13,7 @@
configure: configure-stamp
configure-stamp:
dh_testdir
# Add here commands to configure the package.
# Add here commands to configure the package.

touch configure-stamp

Expand All @@ -23,9 +23,9 @@ build: build-stamp
build-stamp: configure-stamp
dh_testdir

# Add here commands to compile the package.
scons --distname=deb --nojni
#docbook-to-man debian/mongodb.sgml > mongodb.1
# Add here commands to compile the package.
scons
#docbook-to-man debian/mongodb.sgml > mongodb.1

touch $@

Expand Down

0 comments on commit ade581a

Please sign in to comment.