[Fusionforge-commits] FusionForge branch 6.0 updated. v6.0.1-19-g8a9c474

Sylvain Beucler beuc-inria at libremir.placard.fr.eu.org
Thu Jun 25 15:19:01 CEST 2015


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  8a9c4749ba2c74700b8c3c978d48d4e29aac33ae (commit)
      from  6cd7090e5be13ae2b82439fb000e1c4006f451e2 (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=8a9c4749ba2c74700b8c3c978d48d4e29aac33ae

commit 8a9c4749ba2c74700b8c3c978d48d4e29aac33ae
Author: Sylvain Beucler <sylvain.beucler at inria.fr>
Date:   Thu Jun 25 15:13:57 2015 +0200

    lists: remove autodetection symlink on uninstall

diff --git a/src/post-install.d/lists/lists.sh b/src/post-install.d/lists/lists.sh
index 9a6522c..295af8e 100755
--- a/src/post-install.d/lists/lists.sh
+++ b/src/post-install.d/lists/lists.sh
@@ -18,6 +18,7 @@
 # with FusionForge; if not, write to the Free Software Foundation, Inc.,
 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
+source_path=$(forge_get_config source_path)
 case "$1" in
     configure)
 	# Managed by mailman, but referencing it to document where it is:
@@ -36,11 +37,14 @@ case "$1" in
 	    (echo '/autodetection_failed';
              ls -d /usr/lib/mailman/cgi-bin /usr/lib/cgi-bin/mailman 2>/dev/null) \
             | tail -1)
-	ln -nfs $mailman_cgi_dir $(forge_get_config source_path)/lists/cgi-bin
+	ln -nfs $mailman_cgi_dir $source_path/lists/cgi-bin
 	;;
 
+    remove)
+	rm -f $source_path/lists/cgi-bin
+
     *)
-	echo "Usage: $0 {configure}"
+	echo "Usage: $0 {configure|remove}"
 	exit 1
 	;;
 esac

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

Summary of changes:
 src/post-install.d/lists/lists.sh | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list