summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2017-07-21 12:37:40 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2017-07-21 12:37:40 +0200
commita14a861210c8a1374d0809f674ccf767088a41ac (patch)
treeeab2a3fce332dfbd5c3342a15de8e5beaf236c74 /build
parent02c8ec244390aea87c0ba0fe2e1262df240a7190 (diff)
Check for lsb_release
It can be installed via the lsb-release package on Debian and derivatives
Diffstat (limited to 'build')
-rwxr-xr-xbuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/build b/build
index 4ecf40a..bc4806c 100755
--- a/build
+++ b/build
@@ -11,6 +11,10 @@ echo "Options:"
echo " -s, --skip Skip apt-get update/upgrade"
}
+command -v lsb_release >/dev/null 2>&1 || {
+ echo "Could not find lsb_release. Please install lsb-release"
+ exit 1
+}
DIST=`lsb_release -cs`
# URL of the local CRAN repo for checking for existing builds

Contact - Imprint