From 1c4fd4759ca0b0b47724175ddcc0c8a3847daecb Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Mon, 13 Jul 2015 18:05:05 -0400 Subject: [PATCH] opensuse: use `zypper addrepo` --- contents/installing-lttng/desktop-distributions/opensuse.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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: -- 2.34.1