update readme

This commit is contained in:
Alexey Avramov 2020-04-15 02:34:06 +09:00
parent 58fae7e23b
commit b0446ea89e

View File

@ -125,23 +125,20 @@ $ sudo systemctl enable --now nohang
#### To install on Debian and Ubuntu-based systems please make a deb package with latest git snapshot and install it: #### To install on Debian and Ubuntu-based systems please make a deb package with latest git snapshot and install it:
1. Install build dependencies: 1. Install build dependencies:
``` ```bash
$ sudo apt install make buildroot gettext $ sudo apt install make buildroot gettext
``` ```
2. Clone latest git snapshot and run build script to build deb package: 2. Clone latest git snapshot and run build script to build deb package:
``` ```bash
$ git clone https://github.com/hakavlad/nohang.git && cd nohang $ git clone https://github.com/hakavlad/nohang.git && cd nohang
$ deb/build.sh $ deb/build.sh
``` ```
3. Install package: 3. Install package:
``` ```bash
sudo dpkg -i deb/package.deb sudo dpkg -i deb/package.deb
``` ```
4. Start and enable `nohang.service` or `nohang-desktop.service` after installing the package: 4. Start and enable `nohang.service` or `nohang-desktop.service` after installing the package:
``` ```bash
$ sudo systemctl enable nohang-desktop $ sudo systemctl enable nohang-desktop
$ sudo systemctl start nohang-desktop $ sudo systemctl start nohang-desktop
``` ```