byobu-launcher in .profile should be protected if the file doesn't exist
Bug #1396959 reported by
Michał Sawicz
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/
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-
ApportVersion: 2.14.7-0ubuntu10
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Nov 27 12:05:38 2014
PackageArchitec
ScreenRC:
SourcePackage: byobu
UpgradeStatus: No upgrade log present (probably fresh install)
To post a comment you must log in.
bzr commit -m '* usr/bin/ byobu-launcher- install. in: LP: #1396959 media/src/ byobu/byobu/ byobu-launcher- install. in
- silence warnings if byobu-launch doesn't exist (e.g., uninstalled it)' --fixes 'lp:1396959'
Committing to: /local/
modified debian/changelog
modified usr/bin/
Committed revision 2403.