From b5c6af8d9612ec435aeaad41050cc4c5cc3054a7 Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Sun, 11 May 2014 13:55:35 +0200 Subject: [PATCH] docs: Prefer `echo ... | sudo tee ...` over `su -c ...` --- docs/installation/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/installation/index.rst b/docs/installation/index.rst index 03f3ce6c..d68b4f3c 100644 --- a/docs/installation/index.rst +++ b/docs/installation/index.rst @@ -266,7 +266,7 @@ can install Mopidy from PyPI using pip. #. If you're on Fedora, you must add a configuration file so libspotify.so can be found:: - su -c 'echo "/usr/local/lib" > /etc/ld.so.conf.d/libspotify.conf' + echo /usr/local/lib | sudo tee /etc/ld.so.conf.d/libspotify.conf sudo ldconfig #. Then install the latest release of Mopidy-Spotify using pip::