Skip to content

Commit 58a571f

Browse files
committed
[networking] don't use os-release
1 parent db11060 commit 58a571f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

networking/install.bash

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#! /usr/bin/env bash
22

3-
# shellcheck disable=SC1091
4-
. /etc/os-release
5-
if [ "$UBUNTU_CODENAME" == "xenial" ]
3+
if [ "$(lsb-release -cs)" == "xenial" ]
64
then
75
# Install config file (mdns4_minimal is normally missing in xenial and should be present)
86

0 commit comments

Comments
 (0)