diff options
author | Theodore Ts'o <tytso@mit.edu> | 2021-01-29 23:35:38 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2021-01-29 23:35:38 -0500 |
commit | ee2ee8343ee14f57759ea251e986e0cd390d6ba0 (patch) | |
tree | 331320c6921169cb908b96043ac7d5c8e1169dad | |
parent | 24487a7fa64bfa92bea21be3ca8c155e5de7438f (diff) | |
download | e2fsprogs-ee2ee8343ee14f57759ea251e986e0cd390d6ba0.tar.gz |
debian: drop transitional packages
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>
-rw-r--r-- | debian/control | 26 | ||||
-rw-r--r-- | debian/e2fslibs-dev.postinst | 26 | ||||
-rw-r--r-- | debian/e2fslibs-dev.postrm | 32 | ||||
-rw-r--r-- | debian/e2fslibs-dev.preinst | 27 |
4 files changed, 0 insertions, 111 deletions
diff --git a/debian/control b/debian/control index 6d714b42b..87bee9d46 100644 --- a/debian/control +++ b/debian/control @@ -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 index def667391..000000000 --- a/debian/e2fslibs-dev.postinst +++ /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 index 54841afdf..000000000 --- a/debian/e2fslibs-dev.postrm +++ /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 index b3f9a4b01..000000000 --- a/debian/e2fslibs-dev.preinst +++ /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 |