mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
usr/bin/byobu-launcher: fix recent regression, do exec byobu by default,
but allow for not exec'ing if ~/.byobu/disable-exec exists, LP: #519018
This commit is contained in:
parent
3577e930ec
commit
0259f85e58
2 changed files with 9 additions and 2 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -1,6 +1,8 @@
|
|||
byobu (2.56) unreleased; urgency=low
|
||||
|
||||
* debian/control: drop byobu-extras empty package
|
||||
* usr/bin/byobu-launcher: fix recent regression, do exec byobu by default,
|
||||
but allow for not exec'ing if ~/.byobu/disable-exec exists, LP: #519018
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Sat, 06 Feb 2010 22:10:52 -0600
|
||||
|
||||
|
|
|
@ -17,5 +17,10 @@
|
|||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
# Do not 'exec' here
|
||||
[ ! -r "$HOME/.byobu/disable-autolaunch" ] && /usr/bin/byobu
|
||||
if [ ! -r "$HOME/.byobu/disable-autolaunch" ]; then
|
||||
if [ -r "$HOME/.byobu/disable-exec" ]; then
|
||||
/usr/bin/byobu
|
||||
else
|
||||
exec /usr/bin/byobu
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue