[pkg-lynx-commits] [lynx-cur] 03/05: Drop transitional package lynx-cur

Axel Beckert abe at deuxchevaux.org
Mon Oct 30 15:37:08 UTC 2017


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

abe pushed a commit to branch master
in repository lynx-cur.

commit ac046ea6c351908810ee4fc91a47f40af7b181a1
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Mon Oct 30 16:25:08 2017 +0100

    Drop transitional package lynx-cur
---
 debian/changelog        |  1 +
 debian/control          | 11 -----------
 debian/lynx-cur.preinst | 48 ------------------------------------------------
 3 files changed, 1 insertion(+), 59 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 44a7597..8a09c25 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ lynx (2.8.9dev16-2) UNRELEASED; urgency=low
   * Set "Rules-Requires-Root: no".
   * Use "dh_update_autotools_config" instead of "--with autotools".
     + Drop build-dependency on autotools-dev.
+  * Drop transitional package lynx-cur.
 
  -- Denis Briand <debian at denis-briand.fr>  Fri, 11 Aug 2017 22:13:43 +0200
 
diff --git a/debian/control b/debian/control
index df9c742..84709e9 100644
--- a/debian/control
+++ b/debian/control
@@ -59,14 +59,3 @@ Description: classic non-graphical (text-mode) web browser
  In continuous development since 1992, Lynx sets the standard for
  text-mode web clients. It is fast and simple to use, with support for
  browsing via FTP, Gopher, HTTP, HTTPS, NNTP, and the local file system.
-
-Package: lynx-cur
-Section: oldlibs
-Priority: extra
-Architecture: all
-Multi-Arch: foreign
-Depends: lynx (>= 2.8.9dev8-2~),
-         ${misc:Depends}
-Description: Text-mode WWW Browser (transitional package)
- This is a transitional package and can safely be removed; see the
- lynx package instead.
diff --git a/debian/lynx-cur.preinst b/debian/lynx-cur.preinst
deleted file mode 100644
index 1d4d4c5..0000000
--- a/debian/lynx-cur.preinst
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/bin/sh
-
-set -e
-
-# Inspired by
-# http://wiki.debian.org/DpkgConffileHandling
-# Remove a no-longer used conffile
-rm_or_moveconffile() {
-    PKGNAME="$1"
-    CONFFILE="$2"
-    NEWDIR="$3"
-    if [ -e "$CONFFILE" ]; then
-        md5sum="`md5sum \"$CONFFILE\" | sed -e \"s/ .*//\"`"
-        old_md5sum="`dpkg-query -W -f='${Conffiles}' $PKGNAME | sed -n -e \"\\\\' $CONFFILE '{s/ obsolete$//;s/.* //p}\"`"
-        if [ "$md5sum" != "$old_md5sum" ]; then
-	    test -e "$NEWDIR" || mkdir -m 755 -p "$NEWDIR"
-            echo "Obsolete conffile $CONFFILE has been modified by you." 1>&2
-	    if [ -e "$NEWDIR/`basename $CONFFILE`" ]; then
-	        echo "replacement conffile $NEWDIR/`basename $CONFFILE` already exists." 1>&2
-                echo "Saving as $CONFFILE.dpkg-bak ..." 1>&2
-                mv -f "$CONFFILE" "$CONFFILE".dpkg-bak
-            else
-                echo "Moving conffile $CONFFILE to new location $NEWDIR" 1>&2
-                mv -f "$CONFFILE" "$NEWDIR/"
-            fi
-        else
-            echo "Removing obsolete conffile $CONFFILE ..." 1>&2
-            rm -f "$CONFFILE"
-        fi
-    fi
-}
-
-
-
-case "$1" in
-    install|upgrade)
-    # Upgrading from a a real, non-dummy lynx-cur package.
-    if dpkg --compare-versions "$2" 'lt-nl' '2.8.9dev6-6~' ; then
-        update-alternatives --quiet --remove www-browser /usr/bin/lynx
-	update-alternatives --quiet --remove lynx-cur /usr/bin/lynx.stable
-        rm_or_moveconffile lynx-cur /etc/lynx-cur/lynx.cfg /etc/lynx
-        rm_or_moveconffile lynx-cur /etc/lynx-cur/lynx.lss /etc/lynx
-    fi
-    ;;
-    *)
-esac
-
-#DEBHELPER#

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



More information about the pkg-lynx-commits mailing list