[pkg-fso-commits] [SCM] framworkd debian packageing branch, debian, updated. debian/0.2.0-git20080909-2-2-gcc335d4
Joachim Breitner
mail at joachim-breitner.de
Fri Sep 12 12:50:26 UTC 2008
The following commit has been merged in the debian branch:
commit b266f09b346b2b10115db1f4298fa58132cfc526
Author: Joachim Breitner <mail at joachim-breitner.de>
Date: Fri Sep 12 14:43:01 2008 +0200
fixed installprefix for Debian
diff --git a/framework/config.py b/framework/config.py
index 5385808..8aa7bd0 100644
--- a/framework/config.py
+++ b/framework/config.py
@@ -62,15 +62,9 @@ debug = config.getValue( "frameworkd", "log_level", "INFO" )
logging.basicConfig( level=loggingmap.get( debug, logging.INFO ), format="%(name)-8s %(levelname)-8s %(message)s" )
#
-# compute install prefix
+# fixed installprefix for Debian (auto sensing does not work, due to python-support)
#
-installprefix = "/" # unknown first
-searchpath = "/usr/local /usr /local/pkg/fso /opt".split()
-thisdirname = os.path.dirname( __file__ )
-for p in searchpath:
- if thisdirname.startswith( p ):
- installprefix = p
- break
+installprefix = "/usr"
logger.info( "Installprefix is %s" % installprefix )
--
framworkd debian packageing
More information about the pkg-fso-commits
mailing list