From 4e9d5b5a447144c910c2698975157ee296e2eac8 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Fri, 11 Jan 2013 09:21:00 +0100 Subject: o Improved postinstall, don't loose logs/ on every installation. --- src/main/unix/files/root/etc/app.conf | 1 + src/main/unix/files/scripts/postinstall | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100755 src/main/unix/files/root/etc/app.conf mode change 100644 => 100755 src/main/unix/files/scripts/postinstall (limited to 'src/main') diff --git a/src/main/unix/files/root/etc/app.conf b/src/main/unix/files/root/etc/app.conf new file mode 100755 index 0000000..9050c9d --- /dev/null +++ b/src/main/unix/files/root/etc/app.conf @@ -0,0 +1 @@ +app.method=bin/method diff --git a/src/main/unix/files/scripts/postinstall b/src/main/unix/files/scripts/postinstall old mode 100644 new mode 100755 index 8699bd0..a0314dc --- a/src/main/unix/files/scripts/postinstall +++ b/src/main/unix/files/scripts/postinstall @@ -1,6 +1,6 @@ #!/bin/bash -ln -s ../../../etc +ln -s ../../../../etc/config.properties etc/config.properties if [ ! -d ../../../logs ] then -- cgit v1.2.3