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

Bug #392978 reported by Christian Schürer-Waldheim on 2009-06-27
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
byobu (Ubuntu)
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

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
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  Edit
Everyone can see this information.

Other bug subscribers