mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 06:23:19 -07:00
use globs to handle ubuntu/fedora difference in
/usr/share/doc/byobu* Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
parent
0b33391f90
commit
cc61bb49f2
1 changed files with 5 additions and 4 deletions
|
@ -22,7 +22,7 @@
|
||||||
# ./debian/rules get-po
|
# ./debian/rules get-po
|
||||||
|
|
||||||
|
|
||||||
import sys, os, os.path, time, string, commands, gettext
|
import sys, os, os.path, time, string, commands, gettext, glob
|
||||||
from ConfigParser import SafeConfigParser
|
from ConfigParser import SafeConfigParser
|
||||||
from snack import *
|
from snack import *
|
||||||
|
|
||||||
|
@ -107,7 +107,8 @@ def messagebox(screen, width, height, title, text, \
|
||||||
return bb.buttonPressed(g.runOnce())
|
return bb.buttonPressed(g.runOnce())
|
||||||
|
|
||||||
def help(screen, size, config):
|
def help(screen, size, config):
|
||||||
f=file(DOC+'/help.txt')
|
for fn in glob.glob(DOC+'*/help.txt'):
|
||||||
|
f=file(fn)
|
||||||
text=f.read()
|
text=f.read()
|
||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue