mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
* usr/bin/byobu-config:
- simple var name updates
This commit is contained in:
parent
812aa0ef40
commit
8cba4d6559
2 changed files with 6 additions and 4 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -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
|
||||
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue