This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, 6.0 has been updated
       via  fdc2df3a465791a929ae56d65c011c3a95337881 (commit)
       via  c8ee5a7f73e454520bc6cb05d93fd76aafb8d37c (commit)
      from  5b4f965658150d3fd77e9753b882d2f323910c3e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=fdc2df3a465791a929ae56d65c011c3a95337881

commit fdc2df3a465791a929ae56d65c011c3a95337881
Author: Sylvain Beucler <[email protected]>
Date:   Wed Jun 24 17:23:21 2015 +0200

    debian: protect more prerm script in case dpkg found it funny to already 
remove the fusionforge-common dependency

diff --git a/src/debian/fusionforge-common.prerm 
b/src/debian/fusionforge-common.prerm
index 15f4847..231c05f 100644
--- a/src/debian/fusionforge-common.prerm
+++ b/src/debian/fusionforge-common.prerm
@@ -19,6 +19,7 @@ set -e
 
 case "$1" in
     remove)
+        if ! which forge_get_config >/dev/null; then exit 0; fi
         $(forge_get_config source_path)/post-install.d/common/common.sh remove
     ;;
 
diff --git a/src/debian/fusionforge-db-local.prerm 
b/src/debian/fusionforge-db-local.prerm
index 80db7bb..b2c0af9 100644
--- a/src/debian/fusionforge-db-local.prerm
+++ b/src/debian/fusionforge-db-local.prerm
@@ -19,6 +19,7 @@ set -e
 
 case "$1" in
     remove)
+        if ! which forge_get_config >/dev/null; then exit 0; fi
         $(forge_get_config source_path)/post-install.d/db/db.sh remove
     ;;
 
diff --git a/src/debian/fusionforge-mta-exim4.prerm 
b/src/debian/fusionforge-mta-exim4.prerm
index d17c0d1..e773eeb 100644
--- a/src/debian/fusionforge-mta-exim4.prerm
+++ b/src/debian/fusionforge-mta-exim4.prerm
@@ -19,6 +19,7 @@ set -e
 
 case "$1" in
     remove)
+        if ! which forge_get_config >/dev/null; then exit 0; fi
         $(forge_get_config source_path)/post-install.d/mta-exim4/mta-exim4.sh 
remove
     ;;
 
diff --git a/src/debian/fusionforge-mta-postfix.prerm 
b/src/debian/fusionforge-mta-postfix.prerm
index 41bbd5e..7292e83 100644
--- a/src/debian/fusionforge-mta-postfix.prerm
+++ b/src/debian/fusionforge-mta-postfix.prerm
@@ -19,6 +19,7 @@ set -e
 
 case "$1" in
     remove)
+        if ! which forge_get_config >/dev/null; then exit 0; fi
         $(forge_get_config 
source_path)/post-install.d/mta-postfix/mta-postfix.sh remove
     ;;
 
diff --git a/src/debian/fusionforge-shell.prerm 
b/src/debian/fusionforge-shell.prerm
index 30d2a7d..709d6b4 100644
--- a/src/debian/fusionforge-shell.prerm
+++ b/src/debian/fusionforge-shell.prerm
@@ -19,6 +19,7 @@ set -e
 
 case "$1" in
     remove)
+        if ! which forge_get_config >/dev/null; then exit 0; fi
         $(forge_get_config source_path)/post-install.d/shell/shell.sh remove
     ;;
 

https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=c8ee5a7f73e454520bc6cb05d93fd76aafb8d37c

commit c8ee5a7f73e454520bc6cb05d93fd76aafb8d37c
Author: Sylvain Beucler <[email protected]>
Date:   Wed Jun 24 17:13:50 2015 +0200

    debian: silent lintian command-with-path-in-maintainer-script

diff --git a/src/debian/changelog b/src/debian/changelog
index 78ad73a..8d8ee2e 100644
--- a/src/debian/changelog
+++ b/src/debian/changelog
@@ -1,3 +1,10 @@
+fusionforge (6.0.1-2) UNRELEASED; urgency=medium
+
+  * New upstream snapshot following the stable branch.
+  * Silent lintian command-with-path-in-maintainer-script
+
+ -- Sylvain Beucler <[email protected]>  Wed, 24 Jun 2015 17:09:24 +0200
+
 fusionforge (6.0.1-1) unstable; urgency=medium
 
   * New upstream release.
diff --git a/src/debian/fusionforge-web.prerm b/src/debian/fusionforge-web.prerm
index a5d66e6..148648c 100644
--- a/src/debian/fusionforge-web.prerm
+++ b/src/debian/fusionforge-web.prerm
@@ -19,7 +19,7 @@ set -e
 
 case "$1" in
     remove)
-        if [ ! -x /usr/bin/forge_get_config ]; then exit 0; fi
+        if ! which forge_get_config >/dev/null; then exit 0; fi
         $(forge_get_config source_path)/post-install.d/web/web.sh remove
     ;;
 
diff --git a/src/debian/plugin.prerm b/src/debian/plugin.prerm
index f92999e..861ff63 100644
--- a/src/debian/plugin.prerm
+++ b/src/debian/plugin.prerm
@@ -1,7 +1,7 @@
 #!/bin/sh -e
 
 # Skip if -common was already removed
-if [ ! -x /usr/bin/forge_get_config ]; then exit 0; fi
+if ! which forge_get_config >/dev/null; then exit 0; fi
 pluginctl=$(forge_get_config source_path)/post-install.d/common/plugin.sh
 if [ -x $pluginctl ]; then exit 0; fi
 

-----------------------------------------------------------------------

Summary of changes:
 src/debian/changelog                     | 7 +++++++
 src/debian/fusionforge-common.prerm      | 1 +
 src/debian/fusionforge-db-local.prerm    | 1 +
 src/debian/fusionforge-mta-exim4.prerm   | 1 +
 src/debian/fusionforge-mta-postfix.prerm | 1 +
 src/debian/fusionforge-shell.prerm       | 1 +
 src/debian/fusionforge-web.prerm         | 2 +-
 src/debian/plugin.prerm                  | 2 +-
 8 files changed, 14 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to