realy, dont fail if lsb_release does not exist
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
d4aa04f35d
commit
5ac857a87c
4 changed files with 4 additions and 0 deletions
|
@ -19,6 +19,7 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
|
set +e
|
||||||
lsb_release=$(which lsb_release 2>/dev/null)
|
lsb_release=$(which lsb_release 2>/dev/null)
|
||||||
if [ -x "$lsb_release" ]; then
|
if [ -x "$lsb_release" ]; then
|
||||||
$lsb_release --short --codename
|
$lsb_release --short --codename
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
|
set +e
|
||||||
lsb_release=$(which lsb_release 2>/dev/null)
|
lsb_release=$(which lsb_release 2>/dev/null)
|
||||||
if [ -x "$lsb_release" ]; then
|
if [ -x "$lsb_release" ]; then
|
||||||
$lsb_release --short --description
|
$lsb_release --short --description
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
|
set +e
|
||||||
lsb_release=$(which lsb_release 2>/dev/null)
|
lsb_release=$(which lsb_release 2>/dev/null)
|
||||||
if [ -x "$lsb_release" ]; then
|
if [ -x "$lsb_release" ]; then
|
||||||
$lsb_release --short --id
|
$lsb_release --short --id
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
|
set +e
|
||||||
lsb_release=$(which lsb_release 2>/dev/null)
|
lsb_release=$(which lsb_release 2>/dev/null)
|
||||||
if [ -x "$lsb_release" ]; then
|
if [ -x "$lsb_release" ]; then
|
||||||
$lsb_release --short --release
|
$lsb_release --short --release
|
||||||
|
|
Loading…
Reference in a new issue