[jhbuild] Remove the python2 symlink install script



commit aedc2ec4b9176d4b0ae79c813fc2961c4f05ff11
Author: Christoph Reiter <reiter christoph gmail com>
Date:   Sat Dec 7 22:24:38 2019 +0100

    Remove the python2 symlink install script
    
    It tried to create a python2 symlink in PATH so things can depend on it.
    
    Nowadays every Python 2 install will have python2 and python can point to
    Python 3 now, so it might even break things.
    
    Just remove the script.
    
    Fixes #51

 Makefile.am                                |  3 ---
 Makefile.plain                             |  2 --
 scripts/Makefile.am                        |  2 +-
 scripts/debian-python2-postinstall-hook.sh | 24 ------------------------
 4 files changed, 1 insertion(+), 30 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 9cd3e87c..b1e8e473 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -57,9 +57,6 @@ MAINTAINERCLEANFILES = \
 DISTCHECK_CONFIGURE_FLAGS = \
        --with-python=$(PYTHON)
 
-install-exec-local:
-       $(srcdir)/scripts/debian-python2-postinstall-hook.sh $(DESTDIR)$(bindir)
-
 check:
        $(PYTHON) -bb -m unittest discover -v -t $(top_srcdir) -s $(top_srcdir)/tests
 
diff --git a/Makefile.plain b/Makefile.plain
index f0ed236b..7cc85397 100644
--- a/Makefile.plain
+++ b/Makefile.plain
@@ -43,6 +43,4 @@ install: include-check
                ln -s $(bindir)/jhbuild "$(HOME)/bin/jhbuild" ; \
        fi
 
-       ./scripts/debian-python2-postinstall-hook.sh $(bindir)
-
 .PHONY: all update install
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index bf7ca021..903c61d7 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -1,4 +1,4 @@
-EXTRA_DIST = hg-update.py jhbuild.in debian-python2-postinstall-hook.sh
+EXTRA_DIST = hg-update.py jhbuild.in
 
 bin_SCRIPTS = jhbuild
 CLEANFILES = jhbuild


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]