aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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