From 5204ed5a56460f6bed04abdf48d7513a6f7114ba Mon Sep 17 00:00:00 2001 From: Michel Verbraak Date: Tue, 27 Oct 2020 08:11:17 +0100 Subject: As the installation needs root permissions beter check the use is root --- setup/package.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setup') 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 -- cgit v1.2.3