aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Verbraak <michel.verbraak@politie.nl>2020-10-27 08:11:17 +0100
committerMichel Verbraak <michel.verbraak@politie.nl>2020-10-27 08:11:17 +0100
commit5204ed5a56460f6bed04abdf48d7513a6f7114ba (patch)
tree78f2e4cb3138655dc0ffa87ba5882cc63663127d
parentc686a4f045f15944940e131ccfb2fa6a1e0a5e7c (diff)
downloadtrackermap-server-5204ed5a56460f6bed04abdf48d7513a6f7114ba.tar.gz
trackermap-server-5204ed5a56460f6bed04abdf48d7513a6f7114ba.tar.bz2
trackermap-server-5204ed5a56460f6bed04abdf48d7513a6f7114ba.zip
As the installation needs root permissions beter check the use is root
-rwxr-xr-xsetup/package.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup/package.sh b/setup/package.sh
index 8014aca36..093db481b 100755
--- a/setup/package.sh
+++ b/setup/package.sh
@@ -145,7 +145,7 @@ package_linux () {
unzip -q -o jdk-*-linux-$1.zip
jlink --module-path jdk-*-linux-$1/jmods --add-modules java.se,jdk.charsets,jdk.crypto.ec --output out/jre
rm -rf jdk-*-linux-$1
- makeself --quiet --notemp out traccar.run "traccar" ./setup.sh
+ makeself --needroot --quiet --notemp out traccar.run "traccar" ./setup.sh
rm -rf out/jre
zip -q -j traccar-linux-$2-$VERSION.zip traccar.run README.txt