Author:   Lars Michelsen <[email protected]>
Date:     Thu Apr 19 08:55:59 2012 +0200
Committer:   Lars Michelsen <[email protected]>
Commit-Date: Thu Apr 19 08:56:08 2012 +0200

Installer: Fixed sqlite3 package test on debian systems

---

 ChangeLog  |    1 +
 install.sh |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 5443b70..8879041 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -26,6 +26,7 @@ Frontend
   * Bugfix: Fixed JS error in template object management dialog
 
 Core
+  * Installer: Fixed sqlite3 package test on debian systems
   * Line weathermaps colors definition can now be set as float values
     (Thanks to Ormi for the patch!)
   * Bugfix: Made shortly introduced recoding of map config files optional
diff --git a/install.sh b/install.sh
index 81e6469..4b261af 100755
--- a/install.sh
+++ b/install.sh
@@ -707,7 +707,7 @@ check_php_modules() {
 # Check SQLite version
 check_sqlite_version() {
     if [ "${PKG##/*/}" = "dpkg" ]; then
-        SQLITE_VER=`$PKG -l "sqlite" | grep "sqlite" | grep ii | awk -F' ' '{ 
print $3 }' | sed "s/-.*$//" | cut -d"." -f1,2`
+        SQLITE_VER=`$PKG -l "sqlite3" | grep "sqlite" | grep ii | awk -F' ' '{ 
print $3 }' | sed "s/-.*$//" | cut -d"." -f1,2`
     elif [ "${PKG##/*/}" = "rpm" ]; then
         SQLITE_VER=`$PKG -qa "sqlite" | sed "s/sqlite-//g" | sed "s/-.*$//" | 
cut -d"." -f1,2`
     else


------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to