aboutsummaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-02-21 21:05:52 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-02-21 21:05:52 +1300
commiteb30f49e52d569878552bf243915b7f7233e110c (patch)
tree23d08f5ad28aa6df9e41674231b4c1d0f86bcb41 /setup
parentb7e24f5f74e658c2431f3a46b4c2cb1e912edfbe (diff)
downloadtraccar-server-eb30f49e52d569878552bf243915b7f7233e110c.tar.gz
traccar-server-eb30f49e52d569878552bf243915b7f7233e110c.tar.bz2
traccar-server-eb30f49e52d569878552bf243915b7f7233e110c.zip
Update package script
Diffstat (limited to 'setup')
-rwxr-xr-xsetup/package.sh12
1 files changed, 10 insertions, 2 deletions
diff --git a/setup/package.sh b/setup/package.sh
index e85cadfa6..5750eebd9 100755
--- a/setup/package.sh
+++ b/setup/package.sh
@@ -16,17 +16,25 @@ else
fi
# Check wrapper
-if ls wrapper-delta-pack-*.tar.gz &> /dev/null; then
+if ls wrapper-delta-pack-*.tar.gz 1> /dev/null 2>&1; then
echo "Java wrapper package found"
else
echo "Put wrapper-delta-pack-*.tar.gz into this directory"
exit 0
fi
+# Check Windows x64 wrapper
+if ls wrapper-windows-x86-64-*.zip 1> /dev/null 2>&1; then
+ echo "Java wrapper package found"
+else
+ echo "Put wrapper-windows-x86-64-*.zip into this directory"
+ exit 0
+fi
+
# WINDOWS REQUIREMENTS
# Check inno setup
-if ls isetup-*.exe &> /dev/null; then
+if ls isetup-*.exe 1> /dev/null 2>&1; then
echo "Inno setup installer found"
else
echo "Put isetup-*.exe into this directory"