diff --git a/debian/control b/debian/control index b06c62a1..b9e3ec10 100644 --- a/debian/control +++ b/debian/control @@ -24,9 +24,3 @@ Description: a set of useful profiles and a profile-switcher for GNU screen provide features such as status bars, clocks, notifiers (reboot required, updates available), etc. The profile-switcher allows users to quickly switch their .screenrc to any of the available profiles. - -Package: screen-profiles -Depends: ${misc:Depends}, byobu -Architecture: all -Description: package renamed -> byobu - This package has been renamed to 'byobu'. diff --git a/debian/screen-profiles.postinst b/debian/screen-profiles.postinst deleted file mode 100644 index 97f8d2c4..00000000 --- a/debian/screen-profiles.postinst +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh -e - -if dpkg --compare-versions "$2" lt-nl 2.0; then - if [ -e "/usr/bin/screen.real" ]; then - if [ ! -e "/usr/bin/screen" ]; then - # The target of the diversion somehow disappeared - # which will cause the divert removal to fail; - # we don't want that to happen - cp -a /usr/bin/screen.real /usr/bin/screen - fi - # clean up old screen diversion, but don't fail on its removal - dpkg-divert --package screen-profiles --rename --remove /usr/bin/screen 2>/dev/null || true - fi -fi - -#DEBHELPER#