Update from screen-profiles to byobu does not clean up .profile

Bug #392978 reported by Christian Schürer-Waldheim
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
byobu (Ubuntu)
Fix Released
Medium
Dustin Kirkland 

Bug Description

Binary package hint: byobu

The package screen-profiles put the line "[ -x /usr/bin/screen-launcher ] && /usr/bin/screen-launcher" into the .profile file so that it is started automatically. Byobu does the same when you select the "autostart" menu option but it does not remove the one from screen-profiles. The result is the following two lines:

[ -x /usr/bin/screen-launcher ] && /usr/bin/screen-launcher
`echo $- | grep -qs i` && byobu-launcher

This causes to start a new screen-session when I close the last shell (yes, I do sometimes exit all shells :-))

It's not hard to remove one line, but maybe you could do that automatically on update too.

Related branches

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Hey thanks for the report. Good catch, this is annoying. I'll get this fixed ASAP.

:-Dustin

Changed in byobu (Ubuntu):
assignee: nobody → Dustin Kirkland (kirkland)
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package byobu - 2.18-0ubuntu1

---------------
byobu (2.18-0ubuntu1) karmic; urgency=low

  * debian/screen-profiles.postinst: try to remove the dpkg-divert, but
    if it fails, let the installation proceed, since we've copied
    screen.real back into place now, (much hate shall descend upon
    dpkg-divert!!!), LP: #393204
  * byobu-launcher-uninstall, byobu-janitor: byobu-launcher is no longer
    fully qualified, update the remove to account for this; clean out
    old screen-launcher entries as a janitor item LP: #392978
  * keybindings/f-keys, keybindings/screen-escape-keys: call the
    byobu-config window 'config', rather than 'help'

 -- Dustin Kirkland <email address hidden> Tue, 30 Jun 2009 16:08:47 -0700

Changed in byobu (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.