Skip to content

Commit 10e32f0

Browse files
authored
Fix no /etc/lsb-release under Debian issue.
Closes #30.
1 parent 09bb9f0 commit 10e32f0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/getting-started.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,10 @@ packages. In order to activate this repository, execute the following
4848
commands:
4949

5050
```bash
51-
source /etc/lsb-release
5251
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1CE2AFD36DBCCA00
52+
53+
export DISTRIB_ID=`lsb_release -si`
54+
export DISTRIB_CODENAME=`lsb_release -sc`
5355
sudo echo "deb https://repos.loraserver.io/${DISTRIB_ID,,} ${DISTRIB_CODENAME} testing" | sudo tee /etc/apt/sources.list.d/loraserver.list
5456
sudo apt-get update
5557
```

0 commit comments

Comments
 (0)