summaryrefslogtreecommitdiff
path: root/install/ishtar-install
diff options
context:
space:
mode:
Diffstat (limited to 'install/ishtar-install')
-rwxr-xr-xinstall/ishtar-install8
1 files changed, 4 insertions, 4 deletions
diff --git a/install/ishtar-install b/install/ishtar-install
index 2885739a6..49920fc66 100755
--- a/install/ishtar-install
+++ b/install/ishtar-install
@@ -131,10 +131,10 @@ do_install() {
;;
esac
set +e
- MAINBACKS=`cat /etc/apt/sources.list | grep $dist_version'-backports' |grep -v "^#"`
+ MAINBACKS=`cat /etc/apt/sources.list | grep "contrib" | grep $dist_version'-backports' |grep -v "^#"`
ALLBACKS=''
if [ "$(ls -A /etc/apt/sources.list.d/)" ]; then
- ALLBACKS=`cat /etc/apt/sources.list.d/* | grep $dist_version'-backports' |grep -v "^#"`
+ ALLBACKS=`cat /etc/apt/sources.list.d/* | grep "contrib" | grep $dist_version'-backports' |grep -v "^#"`
fi
set -e
if [ "$ALLBACKS" != '' ] || [ "$MAINBACKS" != '' ]; then
@@ -346,7 +346,7 @@ EOF
if [ "$dist_version" == "jessie" ]; then
if [ "$backports_activated" != 'true' ]; then
echo ""
- cecho r " In order to install Ishtar you have to activate Debian backports."
+ cecho r " In order to install Ishtar you have to activate Debian backports with the contrib section."
echo " To do that:"
echo ""
echo " echo 'deb http://ftp.debian.org/debian jessie-backports main contrib non-free' >> /etc/apt/sources.list"
@@ -422,7 +422,7 @@ EOF
cecho y "Installing postgresql"
echo ""
POSTGIS=postgresql-9.6-postgis-2.3
- ( set -x; $sh_c 'sleep 3; apt-get install -y -q postgresql' $POSTGIS $POSTGIS'-scripts' )
+ ( set -x; $sh_c 'sleep 3; apt-get install -y -q postgresql' $POSTGIS $POSTGIS'-scripts postgresql-contrib-9.6' )
fi
echo "-------------------------------------------------------------------------------";
cecho y "Installing Ishtar dependencies"