From bcf22a749960bc26b5f42a3e074ca565a7833e82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Berke=20Kocao=C4=9Flu?= Date: Mon, 27 Apr 2020 03:48:56 +0300 Subject: [PATCH] Update README.md Added quotation marks so that the found file will be correctly referred to in the case that it includes whitespace in its name. Example: $HOME/.config/google-chrome/Profile 1/Extensions/ekpipjofdicppbepocohdlgenahaneen/1.8.1_0/native/mpris_host_setup.py would be cut into two parts, $HOME/.config/google-chrome/Profile being the file and 1/Extensions/ekpipjofdicppbepocohdlgenahaneen/1.8.1_0/native/mpris_host_setup.py being an argument. After the addition of the quotation marks, the whole path will be used as the file. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 776050cc..89cfbc88 100644 --- a/README.md +++ b/README.md @@ -131,7 +131,7 @@ To install the host script, run the following commands: ```bash $ extension_id="ekpipjofdicppbepocohdlgenahaneen" $ installer=$(find $HOME/.config -name "mpris_host_setup.py" | grep ${extension_id}) -$ python3 ${installer} install ${extension_id} +$ python3 "${installer}" install ${extension_id} ``` A restart of the browser is necessary to load the changes. @@ -143,7 +143,7 @@ To uninstall the host script, run the following commands: ```bash $ extension_id="ekpipjofdicppbepocohdlgenahaneen" $ installer=$(find $HOME/.config -name "mpris_host_setup.py" | grep ${extension_id}) -$ python3 ${installer} uninstall +$ python3 "${installer}" uninstall ``` ## License (MIT)