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