Whamcloud - gitweb
debian: drop transitional packages
authorTheodore Ts'o <tytso@mit.edu>
Sat, 30 Jan 2021 04:35:38 +0000 (23:35 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 30 Jan 2021 04:35:38 +0000 (23:35 -0500)
We renamed the libcomerr2, e2fslibs, and e2fslibs-dev packages to
match Debian package naming convetions in Debian 10 (Buster).  Now
that Debian 11 (Bullseye) is about to be released, we no longer need
the transitional packages.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
debian/control
debian/e2fslibs-dev.postinst [deleted file]
debian/e2fslibs-dev.postrm [deleted file]
debian/e2fslibs-dev.preinst [deleted file]

index 6d714b4..87bee9d 100644 (file)
@@ -62,15 +62,6 @@ Description: ext2/ext3/ext4 file system utilities - translations
  This package provides translations for messages for programs found in
  the 'e2fsprogs' package.
 
-Package: libcomerr2
-Depends: libcom-err2, ${misc:Depends}
-Architecture: any
-Multi-Arch: same
-Priority: optional
-Section: oldlibs
-Description: transitional package to libcom-err2
- This is a transitional package to libcom-err2. It can safely be removed.
-
 Package: libcom-err2
 Section: libs
 Priority: optional
@@ -144,23 +135,6 @@ Description: stripped-down versions of e2fsprogs, for debian-installer
  Don't attempt to install this package, it has no support for a couple of
  features you surely want.  Anyway it should refuse to install.
 
-Package: e2fslibs
-Depends: libext2fs2, ${misc:Depends}
-Architecture: any
-Multi-Arch: same
-Priority: optional
-Section: oldlibs
-Description: transitional package to libext2fs2
- This is a transitional package to libext2fs2. It can safely be removed.
-
-Package: e2fslibs-dev
-Depends: libext2fs-dev, ${misc:Depends}
-Architecture: all
-Priority: optional
-Section: oldlibs
-Description: transitional package to libext2fs-dev
- This is a transitional package to libext2fs-dev. It can safely be removed.
-
 Package: libext2fs2
 Section: libs
 Priority: optional
diff --git a/debian/e2fslibs-dev.postinst b/debian/e2fslibs-dev.postinst
deleted file mode 100644 (file)
index def6673..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-
-# Abort on error.
-set -e
-
-symlink_match()
-{
-       local SYMLINK="$1"
-       local SYMLINK_TARGET="$2"
-
-       [ "$(readlink "$SYMLINK")" = "$SYMLINK_TARGET" ] || \
-       [ "$(readlink -f "$SYMLINK")" = "$SYMLINK_TARGET" ]
-}
-
-SYMLINK=/usr/share/doc/e2fslibs-dev
-SYMLINK_TARGET=e2fslibs
-
-if [ "$1" = "configure" ] && [ -h "${SYMLINK}.dpkg-backup" ] &&
-   symlink_match "${SYMLINK}.dpkg-backup" "$SYMLINK_TARGET"
-then
-       rm -f "${SYMLINK}.dpkg-backup"
-fi
-
-#DEBHELPER#
-
-exit 0
diff --git a/debian/e2fslibs-dev.postrm b/debian/e2fslibs-dev.postrm
deleted file mode 100644 (file)
index 54841af..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-
-# Abort on error.
-set -e
-
-symlink_match()
-{
-       local SYMLINK="$1"
-       local SYMLINK_TARGET="$2"
-
-       [ "$(readlink "$SYMLINK")" = "$SYMLINK_TARGET" ] || \
-       [ "$(readlink -f "$SYMLINK")" = "$SYMLINK_TARGET" ]
-}
-
-SYMLINK=/usr/share/doc/e2fslibs-dev
-SYMLINK_TARGET=e2fslibs
-
-if [ "$1" = "purge" ] && [ -h "${SYMLINK}.dpkg-backup" ]
-then
-    rm -f "${SYMLINK}.dpkg-backup"
-fi
-if [ "$1" = "abort-install" -o "$1" = "abort-upgrade" ] &&
-   [ -n "$2" ] && [ ! -e "$SYMLINK" ] && [ -h "${SYMLINK}.dpkg-backup" ] &&
-   symlink_match "${SYMLINK}.dpkg-backup" "$SYMLINK_TARGET"
-then
-    echo "Restoring backup of $SYMLINK ..."
-    mv "${SYMLINK}.dpkg-backup" "$SYMLINK"
-fi
-
-#DEBHELPER#
-
-exit 0
diff --git a/debian/e2fslibs-dev.preinst b/debian/e2fslibs-dev.preinst
deleted file mode 100644 (file)
index b3f9a4b..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-
-# Abort on error.
-set -e
-
-symlink_match()
-{
-       local SYMLINK="$1"
-       local SYMLINK_TARGET="$2"
-
-       [ "$(readlink "$SYMLINK")" = "$SYMLINK_TARGET" ] || \
-       [ "$(readlink -f "$SYMLINK")" = "$SYMLINK_TARGET" ]
-}
-
-SYMLINK=/usr/share/doc/e2fslibs-dev
-SYMLINK_TARGET=e2fslibs
-
-if [ "$1" = "install" -o "$1" = "upgrade" ] &&
-   [ -n "$2" ] && [ -h "$SYMLINK" ] &&
-   symlink_match "$SYMLINK" "$SYMLINK_TARGET"
-then
-    mv -f "$SYMLINK" "${SYMLINK}.dpkg-backup"
-fi
-
-#DEBHELPER#
-
-exit 0