From 5ac857a87ce69f79aa260f7589cdf90829a560c8 Mon Sep 17 00:00:00 2001 From: Steven Armstrong Date: Mon, 31 Oct 2011 16:20:48 +0100 Subject: [PATCH] realy, dont fail if lsb_release does not exist Signed-off-by: Steven Armstrong --- conf/explorer/lsb_codename | 1 + conf/explorer/lsb_description | 1 + conf/explorer/lsb_id | 1 + conf/explorer/lsb_release | 1 + 4 files changed, 4 insertions(+) diff --git a/conf/explorer/lsb_codename b/conf/explorer/lsb_codename index 08bf75be..bc742cf7 100755 --- a/conf/explorer/lsb_codename +++ b/conf/explorer/lsb_codename @@ -19,6 +19,7 @@ # # +set +e lsb_release=$(which lsb_release 2>/dev/null) if [ -x "$lsb_release" ]; then $lsb_release --short --codename diff --git a/conf/explorer/lsb_description b/conf/explorer/lsb_description index 14e59e76..f6c30322 100755 --- a/conf/explorer/lsb_description +++ b/conf/explorer/lsb_description @@ -19,6 +19,7 @@ # # +set +e lsb_release=$(which lsb_release 2>/dev/null) if [ -x "$lsb_release" ]; then $lsb_release --short --description diff --git a/conf/explorer/lsb_id b/conf/explorer/lsb_id index 10d6ce52..6cb2359b 100755 --- a/conf/explorer/lsb_id +++ b/conf/explorer/lsb_id @@ -19,6 +19,7 @@ # # +set +e lsb_release=$(which lsb_release 2>/dev/null) if [ -x "$lsb_release" ]; then $lsb_release --short --id diff --git a/conf/explorer/lsb_release b/conf/explorer/lsb_release index 2139c2e6..5787b71f 100755 --- a/conf/explorer/lsb_release +++ b/conf/explorer/lsb_release @@ -19,6 +19,7 @@ # # +set +e lsb_release=$(which lsb_release 2>/dev/null) if [ -x "$lsb_release" ]; then $lsb_release --short --release