summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-10-26 13:13:10 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-10-26 13:14:28 +0200
commited56b61fb8cc09467175d8fb97ec6a8d459e92e7 (patch)
treedf65ebacae8fcae6e284a13397244938c7e4630f /install
parent3f85c083083510d4be4215533f3a75b34733d61e (diff)
downloadIshtar-ed56b61fb8cc09467175d8fb97ec6a8d459e92e7.tar.bz2
Ishtar-ed56b61fb8cc09467175d8fb97ec6a8d459e92e7.zip
Instal script: backports check the contrib section - install postgres contrib
Diffstat (limited to '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"