summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Joseph Barnhart Clark <dclark@pobox.com>2006-07-16 17:07:24 +0000
committerDaniel Joseph Barnhart Clark <dclark@pobox.com>2006-07-16 17:07:24 +0000
commitff9a47e2ca26ffcdbe26a902a3e5b130d966de4d (patch)
tree217fb2131e7d0ab1d8601c2f09a2309c414d7459
parent9435943d4ed514e0f664a2b5acbe35d4dc9ee243 (diff)
downloadbcfg2-ff9a47e2ca26ffcdbe26a902a3e5b130d966de4d.tar.gz
bcfg2-ff9a47e2ca26ffcdbe26a902a3e5b130d966de4d.tar.bz2
bcfg2-ff9a47e2ca26ffcdbe26a902a3e5b130d966de4d.zip
Fix share paths
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1956 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r--encap/patches/usr-local.diff6
1 files changed, 3 insertions, 3 deletions
diff --git a/encap/patches/usr-local.diff b/encap/patches/usr-local.diff
index 9f8ad57ee..1dc208d20 100644
--- a/encap/patches/usr-local.diff
+++ b/encap/patches/usr-local.diff
@@ -133,8 +133,8 @@ Index: src/sbin/StatReports
clientsdatapath = "%s/Metadata/clients.xml" % c.get('server', 'repository')
- transformpath = "/usr/share/bcfg2/xsl-transforms/"
- #websrcspath = "/usr/share/bcfg2/web-rprt-srcs/"
-+ transformpath = "/usr/local/share/bcfg2/xsl-transforms/"
-+ #websrcspath = "/usr/local/share/bcfg2/web-rprt-srcs/"
++ transformpath = "/usr/local/lib/bcfg2/share/bcfg2/xsl-transforms/"
++ #websrcspath = "/usr/local/lib/bcfg2/share/bcfg2/web-rprt-srcs/"
try:
opts, args = getopt(argv[1:], "hc:s:", ["help", "config=", "stats="])
@@ -165,7 +165,7 @@ Index: src/sbin/bcfg2-repo-validate
prefix = cf.get('server', 'prefix')
except (ConfigParser.NoSectionError, ConfigParser.NoOptionError):
- prefix = '/usr'
-+ prefix = '/usr/local'
++ prefix = '/usr/local/lib/bcfg2'
if verbose:
print "Using installation prefix %s" % (prefix)
schemadir = "%s/share/bcfg2/schemas" % (prefix)