added bug number, fix upgrades with better preinst script

to create links

Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
Dustin Kirkland 2009-09-17 09:02:51 -05:00
commit d7144bc0ab
3 changed files with 12 additions and 7 deletions

6
debian/changelog vendored
View file

@ -7,9 +7,11 @@ byobu (2.33) unreleased; urgency=low
updating the cache, handle it more efficiently
* po/byoub-*.po: rename to just *.po, fix translations location, LP: #430095
* debian/control: drop update-notifier-common and lsb-release to suggests,
as we can live without these now
as we can live without these now, LP: #431875
* debian/postinst, debian/preinst: move symlink of screen-profiles-status ->
byobu-status from the postinst to the preinst
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 16 Sep 2009 23:28:02 -0500
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 17 Sep 2009 01:09:50 -0500
byobu (2.32-0ubuntu1) karmic; urgency=low

5
debian/postinst vendored
View file

@ -6,11 +6,6 @@ PKG="byobu"
# the divert removal to fail; we don't want that to happen
[ -e "/usr/bin/screen.real" ] && [ ! -e "/usr/bin/screen" ] && cp -a /usr/bin/screen.real /usr/bin/screen
# The following two links significantly improve the upgrade
# experience from screen-profiles to byobu.
ln -sf /usr/bin/byobu-status /usr/bin/screen-profiles-status
ln -sf /usr/bin/byobu-launcher /usr/bin/screen-launcher
# Notify users that they should reload their profile
DIR="/var/run/screen"
for d in $(ls "$DIR"); do

8
debian/preinst vendored Normal file
View file

@ -0,0 +1,8 @@
#!/bin/sh -e
# The following two links significantly improve the upgrade
# experience from screen-profiles to byobu.
ln -sf /usr/bin/byobu-status /usr/bin/screen-profiles-status
ln -sf /usr/bin/byobu-launcher /usr/bin/screen-launcher
#DEBHELPER#