byobu-launcher in .profile should be protected if the file doesn't exist

Bug #1396959 reported by Michał Sawicz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
byobu (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

byobu-enable adds to ~/.profile:

> _byobu_sourced=1 . /usr/bin/byobu-launch

This line fails if the file doesn't exist, e.g. if you uninstalled byobu or your profile is sourced in a chroot.

It could make sense to only try and source the file if it exists, or ignoring the lack of it.

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: byobu 5.87-0ubuntu1
Uname: Linux 3.18.0-031800rc4-generic x86_64
ApportVersion: 2.14.7-0ubuntu10
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Nov 27 12:05:38 2014
PackageArchitecture: all
ScreenRC:

SourcePackage: byobu
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Michał Sawicz (saviq) wrote :
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

bzr commit -m '* usr/bin/byobu-launcher-install.in: LP: #1396959
  - silence warnings if byobu-launch doesn't exist (e.g., uninstalled it)' --fixes 'lp:1396959'
Committing to: /local/media/src/byobu/byobu/
modified debian/changelog
modified usr/bin/byobu-launcher-install.in
Committed revision 2403.

Changed in byobu (Ubuntu):
importance: Undecided → Medium
status: New → In Progress
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
byobu (5.92-0ubuntu1) vivid; urgency=medium

  * usr/bin/byobu-launcher-install.in: LP: #1396959
    - silence warnings if byobu-launch doesn't exist (e.g., uninstalled it)
  * usr/bin/byobu-config.in: LP: #1383669
    - revert commit to LP: #1316050, which hardcoded LANG=C
    - this should fix rendering of Japanese characters in the menu
  * usr/share/byobu/keybindings/f-keys.tmux: LP: #1350813
    - handle tmux 1.9's default path changes, per:
      https://sourceforge.net/p/tmux/tmux-code/ci/1.9/tree/CHANGES
 -- Dustin Kirkland <email address hidden> Sat, 07 Mar 2015 18:59:37 -0500

Changed in byobu (Ubuntu):
status: Fix Committed → 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.