diff options
author | Michel Verbraak <michel.verbraak@politie.nl> | 2020-10-27 08:11:17 +0100 |
---|---|---|
committer | Michel Verbraak <michel.verbraak@politie.nl> | 2020-10-27 08:11:17 +0100 |
commit | 5204ed5a56460f6bed04abdf48d7513a6f7114ba (patch) | |
tree | 78f2e4cb3138655dc0ffa87ba5882cc63663127d /setup | |
parent | c686a4f045f15944940e131ccfb2fa6a1e0a5e7c (diff) | |
download | trackermap-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
Diffstat (limited to 'setup')
-rwxr-xr-x | setup/package.sh | 2 |
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 |