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, master has been updated
       via  8cafd03c719b83cbcd4b2709e29c1b165f8552ed (commit)
      from  88576a6086518b3ec90c22367f8baa043d4c0bd3 (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=8cafd03c719b83cbcd4b2709e29c1b165f8552ed

commit 8cafd03c719b83cbcd4b2709e29c1b165f8552ed
Author: Franck Villaume <franck.villa...@trivialdev.com>
Date:   Thu Aug 10 12:25:27 2017 +0000

    scmhg: use standard packaging rule.

diff --git a/src/plugins/scmhg/GNUmakefile b/src/plugins/scmhg/GNUmakefile
new file mode 100644
index 0000000..89c4a1b
--- /dev/null
+++ b/src/plugins/scmhg/GNUmakefile
@@ -0,0 +1,8 @@
+include ../../GNUmakefile.defaults
+
+all:
+       @echo "No default action"
+
+install:
+       install -d -m 755 $(DESTDIR)$(pkgdatadir)/plugins/scmhg/cgi-bin/
+       install -d -m 755 $(DESTDIR)$(pkgdatadir)/plugins/scmhg/www/cgi-bin/
diff --git a/src/plugins/scmhg/bin/install.sh b/src/plugins/scmhg/bin/install.sh
index 1d937f0..e34b0e7 100755
--- a/src/plugins/scmhg/bin/install.sh
+++ b/src/plugins/scmhg/bin/install.sh
@@ -11,8 +11,6 @@ case "$1" in
     configure)
        # hgweb
        if [ -z "$hgwebcgi" -o -z "$hgtemplatesdir" ]; then echo "Cannot find 
required directories"; exit 1; fi
-       mkdir -p -m 755 $plugindir/cgi-bin/
-       mkdir -p -m 755 $plugindir/www/cgi-bin/
        ln -nfs $hgwebcgi                 $plugindir/cgi-bin/
        ln -nfs $plugindir/etc/fflog.tmpl $hgtemplatesdir
        ;;

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

Summary of changes:
 src/plugins/scmhg/GNUmakefile    | 8 ++++++++
 src/plugins/scmhg/bin/install.sh | 2 --
 2 files changed, 8 insertions(+), 2 deletions(-)
 create mode 100644 src/plugins/scmhg/GNUmakefile


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
Fusionforge-commits@lists.fusionforge.org
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to