aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2013-01-12 17:42:21 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2013-01-12 17:42:21 +0100
commit4e78dad3ec73a6e342e5f2a0dbfd802810b7d330 (patch)
tree7a032535e179cd920f5832cb8dc87f22e7523cca
parent1293ebe3a0e94b0ad50566cadf02f3e9fc14ff32 (diff)
downloadesper-testing-4e78dad3ec73a6e342e5f2a0dbfd802810b7d330.tar.gz
esper-testing-4e78dad3ec73a6e342e5f2a0dbfd802810b7d330.tar.bz2
esper-testing-4e78dad3ec73a6e342e5f2a0dbfd802810b7d330.tar.xz
esper-testing-4e78dad3ec73a6e342e5f2a0dbfd802810b7d330.zip
o Allowing the user to have settings in <app>/<instance>/etc/app.conf.
-rwxr-xr-xsrc/main/unix/files/scripts/postinstall5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/unix/files/scripts/postinstall b/src/main/unix/files/scripts/postinstall
index 37c202e..1221a41 100755
--- a/src/main/unix/files/scripts/postinstall
+++ b/src/main/unix/files/scripts/postinstall
@@ -14,5 +14,10 @@ case "`uname -s`" in
fi
ln -s ../../../logs
+
+ if [ -r ../../../etc/app.conf ]
+ then
+ cat ../../../etc/app.conf >> etc/app.conf
+ fi
;;
esac