From 33026f53962a7142a8792584b547a7b4b2359b24 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 8 Jul 2017 17:55:53 +1200 Subject: More changes to install scripts --- setup/package.sh | 2 +- setup/setup.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/setup/package.sh b/setup/package.sh index 7bc556e9e..1070dbeba 100755 --- a/setup/package.sh +++ b/setup/package.sh @@ -119,7 +119,7 @@ package_unix () { copy_files cp setup.sh out - makeself out traccar.run "traccar" ./setup.sh + makeself --notemp out traccar.run "traccar" ./setup.sh zip -j traccar-linux-$VERSION.zip traccar.run README.txt cp traccar-linux-$VERSION.zip traccar-macos-$VERSION.zip diff --git a/setup/setup.sh b/setup/setup.sh index 502c0397b..43e183eea 100755 --- a/setup/setup.sh +++ b/setup/setup.sh @@ -8,8 +8,9 @@ then else mkdir -p /opt/traccar cp -r * /opt/traccar + rm -r ../out rm /opt/traccar/setup.sh - chmod -R go+rX /opt/traccar + chmod -r go+rX /opt/traccar /opt/traccar/bin/installDaemon.sh fi else -- cgit v1.2.3