From: | "Michael Weber (xmw)" <xmw@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in x11-wm/xpra/files: xpra-0.8.0-prefix.patch |
Date: | Fri, 01 Feb 2013 11:38:11 |
Message-Id: | 20130201113748.04A012171E@flycatcher.gentoo.org |
1 | xmw 13/02/01 11:37:47 |
2 | |
3 | Added: xpra-0.8.0-prefix.patch |
4 | Log: |
5 | Version bump |
6 | |
7 | (Portage version: 2.2.0_alpha159/cvs/Linux x86_64, signed Manifest commit with key 62EEF090) |
8 | |
9 | Revision Changes Path |
10 | 1.1 x11-wm/xpra/files/xpra-0.8.0-prefix.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/xpra/files/xpra-0.8.0-prefix.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/xpra/files/xpra-0.8.0-prefix.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: xpra-0.8.0-prefix.patch |
16 | =================================================================== |
17 | --- xpra-0.8.0/setup.py |
18 | +++ xpra-0.8.0/setup.py |
19 | @@ -582,8 +582,8 @@ |
20 | return {} |
21 | if "install" in sys.argv: |
22 | #prepare default [/usr/local]/etc configuration files: |
23 | - if sys.prefix == '/usr': |
24 | - etc_prefix = '/etc/xpra' |
25 | + if sys.prefix[-4:] == '/usr': |
26 | + etc_prefix = sys.prefix[:-4] + '/etc/xpra' |
27 | else: |
28 | etc_prefix = sys.prefix + '/etc/xpra' |
29 | etc_files = ["etc/xpra/xorg.conf"] |