* debian/control, debian/screen-profiles.postinst: remove final remnants

of screen-profiles
This commit is contained in:
Dustin Kirkland 2010-04-20 16:59:29 -05:00
commit b185f974ba
2 changed files with 0 additions and 22 deletions

6
debian/control vendored
View file

@ -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'.

View file

@ -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#