[Pkg-ocaml-maint-commits] [SCM] dh-ocaml packaging branch, master, updated. debian/0.9.0-10-gdab3867

Stephane Glondu steph at glondu.net
Wed Oct 14 18:38:52 UTC 2009


The following commit has been merged in the master branch:
commit dab3867eb66ce08f3ab57c311b638df7ec83bfa8
Author: Stephane Glondu <steph at glondu.net>
Date:   Wed Oct 14 20:35:29 2009 +0200

    dom-new-git-repo: cope with new scheme of example hooks

diff --git a/debian/changelog b/debian/changelog
index 0291a2a..eec8d60 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,8 @@ dh-ocaml (0.9.1) UNRELEASED; urgency=low
   * dh_ocamldoc: fix typo in regexp (Closes: #549939)
   * dh_ocaml: better error when /usr/lib doesn't exist in a relevant
     binary package
+  * dom-new-git-repo: cope with new scheme of example hooks with recent
+    versions of git
 
   [ Mehdi Dogguy ]
   * Don't pass --nodefined-map to ocaml-lintian
@@ -18,7 +20,7 @@ dh-ocaml (0.9.1) UNRELEASED; urgency=low
   * dh_ocamldoc manpage improvements: mention how ocamlfind is detected
     and that order is relevant when shipping doc elsewhere
 
- -- Mehdi Dogguy <mehdi at debian.org>  Fri, 09 Oct 2009 21:45:20 +0200
+ -- Stéphane Glondu <glondu at debian.org>  Wed, 14 Oct 2009 20:34:31 +0200
 
 dh-ocaml (0.9.0) unstable; urgency=low
 
diff --git a/tools/dom-new-git-repo b/tools/dom-new-git-repo
index 889d2e9..a779d8d 100755
--- a/tools/dom-new-git-repo
+++ b/tools/dom-new-git-repo
@@ -42,7 +42,7 @@ cat <<EOCMD | ssh $ALIOTH
 umask 002
 
 cd "$REPODIR"
-chmod a+x hooks/post-update
+chmod a+x hooks/post-update || mv hooks/post-update.sample hooks/post-update
 git config --add hooks.mailinglist "$NOTIFY_EMAIL"
 git config --add hooks.bcc "${PACKAGE}_cvs at packages.qa.debian.org"
 git config --add hooks.cia-project "$CIA_PROJECT"

-- 
dh-ocaml packaging



More information about the Pkg-ocaml-maint-commits mailing list