Dependency packaging files.
[shibboleth/cpp-xmltooling.git] / dependencies / log4cpp / postinstall
diff --git a/dependencies/log4cpp/postinstall b/dependencies/log4cpp/postinstall
new file mode 100644 (file)
index 0000000..8ee5cb7
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+cd ${CLIENT_BASEDIR}/bin
+sed "s|^  prefix=.*|  prefix=${CLIENT_BASEDIR}|1" log4cpp-config > log4cpp-config.tmp
+mv log4cpp-config.tmp log4cpp-config
+chmod 755 log4cpp-config
+
+exit 0