[gcc-6] 242/401: * Don't install alternatives for go and gofmt. The preferred way to do that is to install the golang-any package.

Ximin Luo infinity0 at debian.org
Wed Apr 5 15:49:49 UTC 2017


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch pu/reproducible_builds
in repository gcc-6.

commit 09599d9df7af6ac2214a5870ce9802551274759c
Author: doko <doko at 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>
Date:   Thu Oct 27 12:46:09 2016 +0000

      * Don't install alternatives for go and gofmt. The preferred way to do that
        is to install the golang-any package.
    
    
    git-svn-id: svn://anonscm.debian.org/gcccvs/branches/sid/gcc-6@9017 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
---
 debian/changelog         |  2 ++
 debian/gccgo-BV.postinst | 18 ------------------
 debian/gccgo-BV.prerm    | 19 -------------------
 3 files changed, 2 insertions(+), 37 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 1851537..0acf29b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,8 @@ gcc-6 (6.2.0-10) UNRELEASED; urgency=medium
     debug/elf TestDWARFRelocations test case (James Clark).
   * Reapply fix for PR c++/71912, apply proposed fix for PR c++/78039.
     Closes: #841292.
+  * Don't install alternatives for go and gofmt. The preferred way to do that
+    is to install the golang-any package.
 
  -- Matthias Klose <doko at debian.org>  Wed, 26 Oct 2016 11:19:44 +0200
 
diff --git a/debian/gccgo-BV.postinst b/debian/gccgo-BV.postinst
deleted file mode 100644
index 96dd174..0000000
--- a/debian/gccgo-BV.postinst
+++ /dev/null
@@ -1,18 +0,0 @@
-#! /bin/sh
-
-set -e
-
-# see #779503, base version (60) + go version (1.6)
-prio=66
-
-case "$1" in
-    configure)
-	update-alternatives \
-	    --install /usr/bin/go go /usr/bin/go- at BV@ $prio \
-	    --slave /usr/bin/gofmt gofmt /usr/bin/gofmt- at BV@
-	;;
-esac
-
-#DEBHELPER#
-
-exit 0
diff --git a/debian/gccgo-BV.prerm b/debian/gccgo-BV.prerm
deleted file mode 100644
index fd12afc..0000000
--- a/debian/gccgo-BV.prerm
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-
-set -e
-
-case "$1" in
-  remove|upgrade|deconfigure)
-    update-alternatives --remove go /usr/bin/go- at BV@
-    ;;
-  failed-upgrade)
-    ;;
-  *)
-    echo "prerm called with unknown argument \`$1'" >&2
-    exit 0
-    ;;
-esac
-
-#DEBHELPER#
-
-exit 0

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/gcc-6.git



More information about the Reproducible-commits mailing list