Fix remark lint for Contrib (#6921)
* fix lint error for debian contrib * remove directory name to avoid direct copy
Promise Akpan committed
Sep 23, 2019 at 22:45 UTC
3caa538b14c27da1f0d6d2863914194ec1485e2f
1 file changed
+7
-7
contrib/README.md
+7
-7
@@ -11,23 +11,23 @@ To build Netdata for a Debian Jessie system, the debian directory
11
has to be available in the root of the Netdata source. The easiest
12
way to do this is with a symlink:
13
14
-```
15
-~/netdata$ ln -s contrib/debian
14
+```sh
15
+ln -s contrib/debian
16
```
17
18
Then build the debian package:
19
20
-```
21
-~/netdata$ dpkg-buildpackage -us -uc -rfakeroot
20
+```sh
21
+dpkg-buildpackage -us -uc -rfakeroot
22
```
23
24
This should give a package that can be installed in the parent
25
directory, which you can install manually with dpkg.
26
27
-```
28
-~/netdata$ ls ../*.deb
27
+```sh
28
+ls ../*.deb
29
../netdata_1.0.0_amd64.deb
30
-~/netdata$ sudo dpkg -i ../netdata_1.0.0_amd64.deb
30
+sudo dpkg -i ../netdata_1.0.0_amd64.deb
31
```
32
33
### Building for a Debian system without systemd