diff options
author | Marc Cornellà <hello@mcornella.com> | 2022-02-25 14:06:19 +0100 |
---|---|---|
committer | Marc Cornellà <hello@mcornella.com> | 2022-02-25 14:06:19 +0100 |
commit | c81804825c03e563ab748aae84c3f63458961208 (patch) | |
tree | 90679907c12bad620e5b81a81e2377671d28d88e /plugins/aws | |
parent | 99460351eb8d8d9d5ea2e44b66e1b9ceaaa4a368 (diff) | |
download | zsh-c81804825c03e563ab748aae84c3f63458961208.tar.gz zsh-c81804825c03e563ab748aae84c3f63458961208.tar.bz2 zsh-c81804825c03e563ab748aae84c3f63458961208.zip |
fix(installer): fix removal of OMZ directory on failure
When the `git init` call fails, the directory is not created,
so the rm command fails with a not found error. This change
checks whether the directory exists before deleting it.
Diffstat (limited to 'plugins/aws')
0 files changed, 0 insertions, 0 deletions