From: Philippe Proulx Date: Mon, 13 Jul 2015 22:05:05 +0000 (-0400) Subject: opensuse: use `zypper addrepo` X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=1c4fd4759ca0b0b47724175ddcc0c8a3847daecb;p=lttng-docs.git opensuse: use `zypper addrepo` --- diff --git a/contents/installing-lttng/desktop-distributions/opensuse.md b/contents/installing-lttng/desktop-distributions/opensuse.md index dbd0357..b1d0f99 100644 --- a/contents/installing-lttng/desktop-distributions/opensuse.md +++ b/contents/installing-lttng/desktop-distributions/opensuse.md @@ -10,8 +10,7 @@ For example, the following commands will add the LTTng repository for openSUSE 13.1:
-sudo -i
-curl http://download.opensuse.org/repositories/devel:/tools:/lttng/openSUSE_13.1/devel:tools:lttng.repo > /etc/zypp/repos.d/lttng.repo
+sudo zypper addrepo http://download.opensuse.org/repositories/devel:/tools:/lttng/openSUSE_13.1/devel:tools:lttng.repo
 
Then, refresh the package database: