diff options
Diffstat (limited to 'src/main/unix/files/scripts')
-rwxr-xr-x | src/main/unix/files/scripts/postinstall | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/src/main/unix/files/scripts/postinstall b/src/main/unix/files/scripts/postinstall index a0314dc..37c202e 100755 --- a/src/main/unix/files/scripts/postinstall +++ b/src/main/unix/files/scripts/postinstall @@ -1,10 +1,18 @@ #!/bin/bash -ln -s ../../../../etc/config.properties etc/config.properties +case "`uname -s`" in + CYGWIN*) + cp ../../../etc/config.properties etc/config.properties + mkdir -p logs/ + ;; + *) + ln -s ../../../../etc/config.properties etc/config.properties -if [ ! -d ../../../logs ] -then - mkdir ../../../logs -fi + if [ ! -d ../../../logs ] + then + mkdir ../../../logs + fi -ln -s ../../../logs + ln -s ../../../logs + ;; +esac |