* usr/bin/byobu-config: LP: #789274

- fix autodetection of byobu launch
This commit is contained in:
Dustin Kirkland 2011-06-02 15:20:05 -04:00
commit 3a4356aa59
2 changed files with 6 additions and 1 deletions

5
debian/changelog vendored
View file

@ -1,5 +1,6 @@
byobu (4.9) unreleased; urgency=low byobu (4.9) unreleased; urgency=low
[ Dustin Kirkland ]
* === added directory usr/sbin, usr/sbin/byobu-classroom, * === added directory usr/sbin, usr/sbin/byobu-classroom,
usr/share/byobu/profiles/classroom: usr/share/byobu/profiles/classroom:
- added to the byobu repository for source control, but not yet - added to the byobu repository for source control, but not yet
@ -10,6 +11,10 @@ byobu (4.9) unreleased; urgency=low
* Close LP: #789647 * Close LP: #789647
* Close LP: #789408 * Close LP: #789408
[ Emanuele Rocca ]
* usr/bin/byobu-config: LP: #789274
- fix autodetection of byobu launch
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 01 Jun 2011 09:24:50 -0500 -- Dustin Kirkland <kirkland@ubuntu.com> Wed, 01 Jun 2011 09:24:50 -0500
byobu (4.8-0ubuntu1) oneiric; urgency=low byobu (4.8-0ubuntu1) oneiric; urgency=low

View file

@ -527,7 +527,7 @@ def chgesc(screen, size):
def autolaunch(): def autolaunch():
if os.path.exists(DATA+"/disable-autolaunch"): if os.path.exists(DATA+"/disable-autolaunch"):
return 0 return 0
if commands.getstatusoutput('grep -qs byobu-launcher %s/.profile' % HOME)[0] == 0: if commands.getstatusoutput('grep -qs byobu-launch %s/.profile' % HOME)[0] == 0:
return 1 return 1
if os.path.exists("/etc/profile.d/Z98-%s.sh" % PKG): if os.path.exists("/etc/profile.d/Z98-%s.sh" % PKG):
return 1 return 1