1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2024-12-22 19:22:32 +00:00

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

View file

@ -97,7 +97,7 @@ Installation
.. code-block:: shell .. code-block:: shell
$ git clone --recursive https://github.com/lcpz/awesome-copycats.git $ 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 Usage
===== =====