Commit 93c9b78c authored by iSergio's avatar iSergio
Browse files

Check for pgrouting

parent f6db0972
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -15,6 +15,11 @@ if ! [[ $choice =~ ^([yY][eE][sS]]|[yY])$ ]]; then
    exit 0
fi

array=($(rpmquery -a | grep pgrouting))
if [[ ${#array[@]} == 0 ]]; then
    rpm -Uh rpm/pgrouting-2.0.0-MCBC5.x86_64.rpm
fi

TYPE=primary

usage="$(basename "$0") [-h] [-p|s] [-a|b] [-d] -- Script configure pgpool-II