diff options
-rwxr-xr-x | install/ishtar-install | 2 | ||||
-rw-r--r-- | install/post_install_script.py | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/install/ishtar-install b/install/ishtar-install index 1d26e1a7b..dc4087f6a 100755 --- a/install/ishtar-install +++ b/install/ishtar-install @@ -323,6 +323,7 @@ EOF if [ "$default_db" == '127.0.0.1' ]; then echo "-------------------------------------------------------------------------------"; cecho y "Installing postgresql" + echo "" POSTGIS=postgresql-9.1-postgis ( set -x; $sh_c 'sleep 3; apt-get install -y -q postgresql '$POSTGIS ) fi @@ -363,6 +364,7 @@ EOF if [ "$default_db" == '127.0.0.1' ]; then echo "-------------------------------------------------------------------------------"; cecho y "Installing postgresql" + echo "" POSTGIS=postgresql-9.4-postgis-2.3 ( set -x; $sh_c 'sleep 3; apt-get install -y -q postgresql '$POSTGIS ) fi diff --git a/install/post_install_script.py b/install/post_install_script.py index a4a5aaf0c..141b738d0 100644 --- a/install/post_install_script.py +++ b/install/post_install_script.py @@ -2,6 +2,8 @@ import sys import os import django +sys.path.append(os.path.abspath('.')) + app_name, url = sys.argv[1], sys.argv[2] os.environ.setdefault("DJANGO_SETTINGS_MODULE", app_name + ".settings") django.setup() |