mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
* debian/control, debian/screen-profiles.postinst: remove final remnants
of screen-profiles
This commit is contained in:
parent
6cd6408c97
commit
b185f974ba
2 changed files with 0 additions and 22 deletions
6
debian/control
vendored
6
debian/control
vendored
|
@ -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'.
|
||||
|
|
16
debian/screen-profiles.postinst
vendored
16
debian/screen-profiles.postinst
vendored
|
@ -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#
|
Loading…
Add table
Add a link
Reference in a new issue