projects
/
shibboleth
/
cpp-opensaml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1538f64
)
Fix catalog fixup to allow install loc to not overlap with usr/local.
author
Scott Cantor
<cantor.2@osu.edu>
Tue, 30 Sep 2008 04:48:10 +0000
(
04:48
+0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Tue, 30 Sep 2008 04:48:10 +0000
(
04:48
+0000)
postinstall
patch
|
blob
|
history
diff --git
a/postinstall
b/postinstall
index
1808dee
..
da3f9ec
100644
(file)
--- a/
postinstall
+++ b/
postinstall
@@
-2,15
+2,15
@@
cd ${CLIENT_BASEDIR}/share/xml/opensaml
cd ${CLIENT_BASEDIR}/share/xml/opensaml
-sed "s|uri=\".*
${CLIENT_BASEDIR}|uri=\"${CLIENT_BASEDIR}
|1" saml10-catalog.xml > catalog.xml.tmp
+sed "s|uri=\".*
/share/xml/opensaml/\(.*\)\"|uri=\"${CLIENT_BASEDIR}/share/xml/opensaml/\1\"
|1" saml10-catalog.xml > catalog.xml.tmp
mv catalog.xml.tmp saml10-catalog.xml
chmod 644 saml10-catalog.xml
mv catalog.xml.tmp saml10-catalog.xml
chmod 644 saml10-catalog.xml
-sed "s|uri=\".*
${CLIENT_BASEDIR}|uri=\"${CLIENT_BASEDIR}
|1" saml11-catalog.xml > catalog.xml.tmp
+sed "s|uri=\".*
/share/xml/opensaml/\(.*\)\"|uri=\"${CLIENT_BASEDIR}/share/xml/opensaml/\1\"
|1" saml11-catalog.xml > catalog.xml.tmp
mv catalog.xml.tmp saml11-catalog.xml
chmod 644 saml11-catalog.xml
mv catalog.xml.tmp saml11-catalog.xml
chmod 644 saml11-catalog.xml
-sed "s|uri=\".*
${CLIENT_BASEDIR}|uri=\"${CLIENT_BASEDIR}
|1" saml20-catalog.xml > catalog.xml.tmp
+sed "s|uri=\".*
/share/xml/opensaml/\(.*\)\"|uri=\"${CLIENT_BASEDIR}/share/xml/opensaml/\1\"
|1" saml20-catalog.xml > catalog.xml.tmp
mv catalog.xml.tmp saml20-catalog.xml
chmod 644 saml20-catalog.xml
mv catalog.xml.tmp saml20-catalog.xml
chmod 644 saml20-catalog.xml