diff options
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:13:10 +0200 |
commit | 70ce70650144e92b200c62d1e334c8636add9f62 (patch) | |
tree | 3ebf33ae6f155f7c4fc322a4e8c69e306e649207 | |
parent | d7fae5dcfc62d81e44e634ffbf35d9f4aa2577ab (diff) | |
download | Ishtar-70ce70650144e92b200c62d1e334c8636add9f62.tar.bz2 Ishtar-70ce70650144e92b200c62d1e334c8636add9f62.zip |
Instal script: backports check the contrib section - install postgres contrib
-rwxr-xr-x | install/ishtar-install | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/install/ishtar-install b/install/ishtar-install index f9c841cb6..a08407622 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 @@ -337,7 +337,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" @@ -413,7 +413,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" |