/[gentoo-x86]/net-p2p/tribler/files/tribler-log2homedir.patch
Gentoo

Contents of /net-p2p/tribler/files/tribler-log2homedir.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Feb 28 16:01:17 2012 UTC (2 years, 6 months ago) by blueness
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
Make log 2 home patch strictly python 2

(Portage version: 2.1.10.44/cvs/Linux x86_64)

1 diff -Naur usr.orig/bin/tribler usr/bin/tribler
2 --- usr.orig/bin/tribler 2012-02-07 10:33:48.000000000 -0500
3 +++ usr/bin/tribler 2012-02-11 12:19:05.000000000 -0500
4 @@ -6,5 +6,7 @@
5 export PYTHONPATH="$PYTHONPATH":$_TRIBLERPATH
6
7 echo "Starting Tribler..."
8 +STATEDIR="$HOME/.Tribler"
9 +[ ! -d $STATEDIR ] && mkdir -p $STATEDIR
10 cd $_TRIBLERPATH
11 -exec python -O Tribler/Main/tribler.py "$@" > /tmp/$USER-tribler.log 2>&1
12 +exec python2 -O Tribler/Main/tribler.py "$@" > $STATEDIR/tribler.log 2>&1

  ViewVC Help
Powered by ViewVC 1.1.20