mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
usr/bin/byobu-config: fix logic auto-launch detection logic, LP: #528545
This commit is contained in:
parent
fc6dba52fc
commit
4323459058
2 changed files with 2 additions and 2 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -1,6 +1,6 @@
|
|||
byobu (2.59) unreleased; urgency=low
|
||||
|
||||
* UNRELEASED
|
||||
* usr/bin/byobu-config: fix logic auto-launch detection logic, LP: #528545
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 16 Feb 2010 23:16:33 -0600
|
||||
|
||||
|
|
|
@ -495,7 +495,7 @@ def chgesc(screen, size):
|
|||
def autolaunch():
|
||||
if os.path.exists("%s/.%s/disable-autolaunch" % (HOME, PKG)):
|
||||
return 0
|
||||
if commands.getstatusoutput('grep -qs byobu-launcher %s/.profile' % HOME):
|
||||
if commands.getstatusoutput('grep -qs byobu-launcher %s/.profile' % HOME)[0] == 0:
|
||||
return 1
|
||||
if os.path.exists("/etc/profile.d/Z98-%s.sh" % PKG):
|
||||
return 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue