Skip to content

Commit 5eb87b4

Browse files
authored
fix: remove old redis command from ddev-redis-7, fixes #46 (#47)
Co-authored-by: tyler36 <[email protected]>
1 parent 4ee2212 commit 5eb87b4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

install.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ post_install_actions:
2929
- |
3030
#ddev-description:Remove redis/scripts if there are no files
3131
rmdir redis/scripts 2>/dev/null || true
32+
- |
33+
#ddev-nodisplay
34+
#ddev-description:Remove old `redis` command from `ddev-redis-7`
35+
if grep "#ddev-generated" $DDEV_APPROOT/.ddev/commands/redis/redis > /dev/null 2>&1; then
36+
rm -f "$DDEV_APPROOT/.ddev/commands/redis/redis"
37+
fi
3238
3339
removal_actions:
3440
- |

0 commit comments

Comments
 (0)