Skip to content

Commit

Permalink
Display pum version and abort if not installed
Browse files Browse the repository at this point in the history
  • Loading branch information
Régis Haubourg committed Nov 30, 2017
1 parent d1f9d3d commit 9ceaa56
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions init_qwat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@ while true; do
esac
done


# Check if pum is installed (will fail and stop the script in case of error)
PUM_VERSION=$(pum -v)
echo "PUM version: $PUM_VERSION"
echo

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

if [[ "$PGSERVICEGIVEN" -eq 0 ]] && [[ "$DROPSCHEMA" -eq 1 ]]; then
Expand Down

0 comments on commit 9ceaa56

Please sign in to comment.