harpoon has been renamed to nami

This commit is contained in:
Sameer Naik
2016-09-03 13:25:08 +05:30
parent 16b30ac5fb
commit 5bd801d3bb
2 changed files with 4 additions and 4 deletions

View File

@@ -1,10 +1,10 @@
#!/bin/bash
set -e
if [[ "$1" == "harpoon" && "$2" == "start" ]]; then
status=`harpoon inspect $BITNAMI_APP_NAME`
if [[ "$1" == "nami" && "$2" == "start" ]]; then
status=`nami inspect $BITNAMI_APP_NAME`
if [[ "$status" == *'"lifecycle": "unpacked"'* ]]; then
harpoon initialize $BITNAMI_APP_NAME \
nami initialize $BITNAMI_APP_NAME \
${MARIADB_ROOT_PASSWORD:+--rootPassword $MARIADB_ROOT_PASSWORD} \
${MARIADB_USER:+--username $MARIADB_USER} \
${MARIADB_PASSWORD:+--password $MARIADB_PASSWORD} \