mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2024-10-22 12:31:23 +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:
parent
e13fa9b4b4
commit
3e5b22bc3a
|
@ -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
|
||||||
=====
|
=====
|
||||||
|
|
Loading…
Reference in a new issue