[Pkg-golang-commits] [golang] 03/03: Remove final vestiges of old debconf removal code

Tianon Gravi tianon at debian.org
Sat Sep 26 20:43:16 UTC 2015


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

tianon pushed a commit to branch debian-sid
in repository golang.

commit ab4c399d7e65d283c38cb18e99b54e2e6407b041
Author: Tianon Gravi <tianon at debian.org>
Date:   Sat Sep 26 13:42:47 2015 -0700

    Remove final vestiges of old debconf removal code
---
 debian/golang-go.config   |  9 ---------
 debian/golang-go.postinst | 16 ----------------
 debian/golang-go.postrm   | 19 -------------------
 3 files changed, 44 deletions(-)

diff --git a/debian/golang-go.config b/debian/golang-go.config
deleted file mode 100644
index f714921..0000000
--- a/debian/golang-go.config
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-set -e
-
-. /usr/share/debconf/confmodule
-
-# Cleanup old debconf dashboard question that was removed in golang-go 2:1.1
-# -- 2013-05-14 stapelberg
-db_purge
diff --git a/debian/golang-go.postinst b/debian/golang-go.postinst
index 6a6081e..f705515 100644
--- a/debian/golang-go.postinst
+++ b/debian/golang-go.postinst
@@ -1,24 +1,8 @@
 #!/bin/sh
-
-confdir=/etc/golang
-conffile=$confdir/goinstall.conf
-
 set -e
 
-. /usr/share/debconf/confmodule
-
-# Cleanup old debconf dashboard question that was removed in golang-go 2:1.1
-# -- 2013-05-14 stapelberg
-db_purge
-
 case "$1" in
     configure)
-	# Remove obsolete goinstall.conf.
-	# -- 2013-05-14 stapelberg
-	if [ -e $conffile ]; then
-		rm -f $conffile
-		rmdir /etc/golang || true
-	fi
 	# Very ugly hack to set timestamps same as /usr/lib/go/bin/go
 	find /usr/lib/go/pkg -exec touch -r /usr/lib/go/bin/go {} \;
 	# Setup alternatives
diff --git a/debian/golang-go.postrm b/debian/golang-go.postrm
deleted file mode 100644
index 2cf582e..0000000
--- a/debian/golang-go.postrm
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-
-set -e
-
-# purge the config file which is created in the postinst script
-if [ "$1" = purge ] ; then
-        rm -f /etc/golang/goinstall.conf
-	rmdir /etc/golang || true
-fi
-
-if [ "$1" = "purge" ] && [ -e /usr/share/debconf/confmodule ]; then
-    # Source debconf library.
-    . /usr/share/debconf/confmodule
-    # Remove my changes to the db.
-    db_purge
-fi
-
-#DEBHELPER#
-

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-golang/golang.git



More information about the pkg-golang-commits mailing list