Skip to content

Commit 4ed8691

Browse files
authored
Merge pull request #11 from stasforks/20250422_stasadev_grep
fix: replace `-q` flag in `grep` with `>/dev/null`, fixes #9
2 parents cfec74d + 8855480 commit 4ed8691

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ pre_install_actions:
44
- |
55
#ddev-nodisplay
66
#ddev-description:Check for backdrop project type
7-
if ! ddev debug configyaml | grep -q "^type:.*backdrop"; then
7+
if ! ddev debug configyaml | grep "^type:.*backdrop" >/dev/null; then
88
echo "This add-on is only available for projects with backdrop type"
99
exit 2
1010
fi

0 commit comments

Comments
 (0)