aboutsummaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-12-22 12:03:25 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-12-22 12:03:25 +1300
commit87fde1cd1422db34c9fab444a5a596b0bd260f8a (patch)
treeb4c555712ec76b9a9dfe2b48e5daae2e2dd1d853 /setup
parent0178ecfa6f6a5d6864e7650e1f74277f0dd09fbb (diff)
downloadtrackermap-server-87fde1cd1422db34c9fab444a5a596b0bd260f8a.tar.gz
trackermap-server-87fde1cd1422db34c9fab444a5a596b0bd260f8a.tar.bz2
trackermap-server-87fde1cd1422db34c9fab444a5a596b0bd260f8a.zip
Update installer packaging scripts
Diffstat (limited to 'setup')
-rwxr-xr-xsetup/package.sh2
-rw-r--r--setup/windows/traccar.iss2
2 files changed, 4 insertions, 0 deletions
diff --git a/setup/package.sh b/setup/package.sh
index bd6fa6950..8014836bb 100755
--- a/setup/package.sh
+++ b/setup/package.sh
@@ -114,6 +114,7 @@ package_unix () {
cp ../target/tracker-server.jar out
cp ../target/lib/* out/lib
+ cp ../database/* out/data
cp -r ../web/* out/web
cp unix/traccar.xml out/conf
@@ -144,6 +145,7 @@ package_universal () {
cp ../target/tracker-server.jar out
cp ../target/lib/* out/lib
+ cp ../database/* out/data
cp -r ../web/* out/web
cp windows/traccar.xml out/conf
cp README.txt out
diff --git a/setup/windows/traccar.iss b/setup/windows/traccar.iss
index 7a21059ad..a38a27e91 100644
--- a/setup/windows/traccar.iss
+++ b/setup/windows/traccar.iss
@@ -23,6 +23,7 @@ Source: "..\wrapper\src\conf\wrapper.conf.in"; DestDir: "{app}\conf"; DestName:
Source: "..\..\target\tracker-server.jar"; DestDir: "{app}"
Source: "..\..\target\lib\*"; DestDir: "{app}\lib"
+Source: "..\..\database\*"; DestDir: "{app}\data"
Source: "..\..\web\*"; DestDir: "{app}\web"; Flags: recursesubdirs
Source: "traccar.xml"; DestDir: "{app}\conf"; AfterInstall: ConfigureApplication
@@ -82,5 +83,6 @@ begin
StringChangeEx(S, '[WEB]', ExpandConstant('{app}\web'), true);
StringChangeEx(S, '[LOG]', ExpandConstant('{app}\logs\tracker-server.log'), true);
StringChangeEx(S, '[DATABASE]', ExpandConstant('{app}\data\database'), true);
+ StringChangeEx(S, '[CHANGELOG]', ExpandConstant('{app}\data\db.changelog-master.xml'), true);
SaveStringToFile(ExpandConstant(CurrentFileName), S, false);
end;