Use a logical 'and' before removal command.

If the user doesn't have awesome's config installed to the given
directory, the first `mv` command will fail and the repository files
removed thereafter. To prevent this from happening, use the logical
`and` instead and the user has the opportunity to create the directory
and re-run (instead of having to re-clone).
This commit is contained in:
Ant Zucaro 2019-01-21 16:22:18 -05:00
parent e13fa9b4b4
commit 3e5b22bc3a
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ Installation
.. code-block:: shell
$ git clone --recursive https://github.com/lcpz/awesome-copycats.git
$ mv -bv awesome-copycats/* ~/.config/awesome; rm -rf awesome-copycats
$ mv -bv awesome-copycats/* ~/.config/awesome && rm -rf awesome-copycats
Usage
=====