* usr/bin/byobu-config:

- simple var name updates
This commit is contained in:
Dustin Kirkland 2011-07-28 00:33:47 -05:00
commit 8cba4d6559
2 changed files with 6 additions and 4 deletions

2
debian/changelog vendored
View file

@ -21,6 +21,8 @@ byobu (4.23) unreleased; urgency=low
- support package kit, LP: #815579
* usr/bin/byobu-config, usr/bin/byobu-select-session:
- use python's default parameter for os.getenv(), LP: #816026
* usr/bin/byobu-config:
- simple var name updates
-- Dustin Kirkland <kirkland@ubuntu.com> Sun, 24 Jul 2011 14:23:38 -0500

View file

@ -31,10 +31,10 @@ HOME=os.getenv("HOME")
USER=os.getenv("USER")
BYOBU_CONFIG_DIR=os.getenv("BYOBU_CONFIG_DIR", HOME+"/.byobu")
BYOBU_BACKEND=os.getenv("BYOBU_BACKEND", "screen")
SOCKETDIR=os.getenv("SOCKETDIR", "/var/run/screen")
PREFIX = os.getenv("BYOBU_PREFIX", "/usr")
SHARE=PREFIX+'/share/'+PKG
DOC=PREFIX+'/share/doc/'+PKG
BYOBU_SOCKETDIR=os.getenv("SOCKETDIR", "/var/run/screen")
BYOBU_PREFIX = os.getenv("BYOBU_PREFIX", "/usr")
SHARE=BYOBU_PREFIX+'/share/'+PKG
DOC=BYOBU_PREFIX+'/share/doc/'+PKG
if not os.path.exists(SHARE):
SHARE = BYOBU_CONFIG_DIR+"/"+SHARE
if not os.path.exists(DOC):