Skip to content

Commit

Permalink
85: replace "Up" with "running" when checking for cli container state. (
Browse files Browse the repository at this point in the history
  • Loading branch information
philippemouchel authored Dec 9, 2022
1 parent 0b3c53f commit aa30ff9
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion adminer/adminer
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ adminer_disable ()
{
echo " Running checks..."
# Make sure cli container is running
if ! (fin ps | grep "_cli_" | grep "Up" >/dev/null); then
if ! (fin ps | grep "_cli_" | grep "running" >/dev/null); then
echo " ERROR: Start the project with fin start first" && exit 1
fi

Expand Down
2 changes: 1 addition & 1 deletion adminer/adminer.pre-install
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fi


# Check project running
if ! (fin ps | grep "_cli_" | grep "Up" >/dev/null); then
if ! (fin ps | grep "_cli_" | grep "running" >/dev/null); then
echo "[PRE-INSTALL] ERROR: Start the project with fin start first"
exit 1
fi
Expand Down
2 changes: 1 addition & 1 deletion andock/andock.pre-install
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fi


# Check project running
if ! (fin ps | grep "_cli_" | grep "Up" >/dev/null); then
if ! (fin ps | grep "_cli_" | grep "running" >/dev/null); then
echo "[PRE-INSTALL] ERROR: Start the project with fin start first"
exit 1
fi
Expand Down
2 changes: 1 addition & 1 deletion mailhog/mailhog
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ mailhog_disable ()
{
echo " Running checks..."
# Make sure cli container is running
if ! (fin ps | grep "_cli_" | grep "Up" >/dev/null); then
if ! (fin ps | grep "_cli_" | grep "running" >/dev/null); then
echo " ERROR: Start the project with fin start first" && exit 1
fi

Expand Down
2 changes: 1 addition & 1 deletion mailhog/mailhog.pre-install
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fi


# Check project running
if ! (fin ps | grep "_cli_" | grep "Up" >/dev/null); then
if ! (fin ps | grep "_cli_" | grep "running" >/dev/null); then
echo "[PRE-INSTALL] ERROR: Start the project with fin start first"
exit 1
fi
Expand Down
2 changes: 1 addition & 1 deletion meilisearch/meilisearch
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ meiliesearch_disable ()
{
echo " Running checks..."
# Make sure cli container is running
if ! (fin ps | grep "_cli_" | grep "Up" >/dev/null); then
if ! (fin ps | grep "_cli_" | grep "running" >/dev/null); then
echo " ERROR: Start the project with fin start first" && exit 1
fi

Expand Down
2 changes: 1 addition & 1 deletion meilisearch/meilisearch.pre-install
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fi


# Check project running
if ! (fin ps | grep "_cli_" | grep "Up" >/dev/null); then
if ! (fin ps | grep "_cli_" | grep "running" >/dev/null); then
echo "[PRE-INSTALL] ERROR: Start the project with fin start first"
exit 1
fi
Expand Down
2 changes: 1 addition & 1 deletion pma/pma
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ pma_disable ()
{
echo " Running checks..."
# Make sure cli container is running
if ! (fin ps | grep "_cli_" | grep "Up" >/dev/null); then
if ! (fin ps | grep "_cli_" | grep "running" >/dev/null); then
echo " ERROR: Start the project with fin start first" && exit 1
fi

Expand Down
2 changes: 1 addition & 1 deletion pma/pma.pre-install
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fi


# Check project running
if ! (fin ps | grep "_cli_" | grep "Up" >/dev/null); then
if ! (fin ps | grep "_cli_" | grep "running" >/dev/null); then
echo "[PRE-INSTALL] ERROR: Start the project with fin start first"
exit 1
fi
Expand Down
2 changes: 1 addition & 1 deletion rabbitmq/rabbitmq
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ rabbitmq_disable ()
{
echo " Running checks..."
# Make sure cli container is running
if ! (fin ps | grep "_cli_" | grep "Up" >/dev/null); then
if ! (fin ps | grep "_cli_" | grep "running" >/dev/null); then
echo " ERROR: Start the project with fin start first" && exit 1
fi

Expand Down
2 changes: 1 addition & 1 deletion rabbitmq/rabbitmq.pre-install
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fi


# Check project running
if ! (fin ps | grep "_cli_" | grep "Up" >/dev/null); then
if ! (fin ps | grep "_cli_" | grep "running" >/dev/null); then
echo "[PRE-INSTALL] ERROR: Start the project with fin start first"
exit 1
fi
Expand Down
2 changes: 1 addition & 1 deletion redis/redis
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ redis_disable ()
{
echo " Running checks..."
# Make sure cli container is running
if ! (fin ps | grep "_cli_" | grep "Up" >/dev/null); then
if ! (fin ps | grep "_cli_" | grep "running" >/dev/null); then
echo " ERROR: Start the project with fin start first" && exit 1
fi

Expand Down
2 changes: 1 addition & 1 deletion redis/redis.pre-install
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fi


# Check project running
if ! (fin ps | grep "_cli_" | grep "Up" >/dev/null); then
if ! (fin ps | grep "_cli_" | grep "running" >/dev/null); then
echo "[PRE-INSTALL] ERROR: Start the project with fin start first"
exit 1
fi
Expand Down
2 changes: 1 addition & 1 deletion sitediff/sitediff
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ sitediff_disable ()
{
echo " Running checks..."
# Make sure cli container is running
if ! (fin ps | grep "_cli_" | grep "Up" >/dev/null); then
if ! (fin ps | grep "_cli_" | grep "running" >/dev/null); then
echo " ERROR: Start the project with fin start first" && exit 1
fi

Expand Down
2 changes: 1 addition & 1 deletion sitediff/sitediff.pre-install
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fi


# Check project running
if ! (fin ps | grep "_cli_" | grep "Up" >/dev/null); then
if ! (fin ps | grep "_cli_" | grep "running" >/dev/null); then
echo "[PRE-INSTALL] ERROR: Start the project with fin start first"
exit 1
fi
Expand Down
2 changes: 1 addition & 1 deletion solr/solr
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ solr_disable ()
{
echo " Running checks..."
# Make sure cli container is running
if ! (fin ps | grep "_cli_" | grep "Up" >/dev/null); then
if ! (fin ps | grep "_cli_" | grep "running" >/dev/null); then
echo " ERROR: Start the project with fin start first" && exit 1
fi

Expand Down
2 changes: 1 addition & 1 deletion solr/solr.pre-install
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fi


# Check project running
if ! (fin ps | grep "_cli_" | grep "Up" >/dev/null); then
if ! (fin ps | grep "_cli_" | grep "running" >/dev/null); then
echo "[PRE-INSTALL] ERROR: Start the project with fin start first"
exit 1
fi
Expand Down

0 comments on commit aa30ff9

Please sign in to comment.