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:
parent
e13fa9b4b4
commit
3e5b22bc3a
|
@ -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
|
||||
=====
|
||||
|
|
Loading…
Reference in New Issue