aboutsummaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-10-27 10:26:14 -0700
committerGitHub <noreply@github.com>2020-10-27 10:26:14 -0700
commit3f7bcee046d6a023474cdc511ef0fa3c8118b4aa (patch)
treee530547935c306f083729747cb904b0b230a5b69 /setup
parent9b90538fc856041e14c12dd4fabbb108cd7858df (diff)
parent5204ed5a56460f6bed04abdf48d7513a6f7114ba (diff)
downloadtraccar-server-3f7bcee046d6a023474cdc511ef0fa3c8118b4aa.tar.gz
traccar-server-3f7bcee046d6a023474cdc511ef0fa3c8118b4aa.tar.bz2
traccar-server-3f7bcee046d6a023474cdc511ef0fa3c8118b4aa.zip
Merge pull request #4596 from mivtdole/makeself_root
As the installation needs root permissions beter check the user is root
Diffstat (limited to 'setup')
-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