aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-07-08 17:55:53 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-07-08 17:55:53 +1200
commit33026f53962a7142a8792584b547a7b4b2359b24 (patch)
treebdc1df78c368aaa02a074d6b4b60161c24005ff2
parent6c302a650cfb67506c51ca14d5e16bbf2709c8f4 (diff)
downloadtrackermap-server-33026f53962a7142a8792584b547a7b4b2359b24.tar.gz
trackermap-server-33026f53962a7142a8792584b547a7b4b2359b24.tar.bz2
trackermap-server-33026f53962a7142a8792584b547a7b4b2359b24.zip
More changes to install scripts
-rwxr-xr-xsetup/package.sh2
-rwxr-xr-xsetup/setup.sh3
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