diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2017-07-21 12:37:40 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2017-07-21 12:37:40 +0200 |
commit | a14a861210c8a1374d0809f674ccf767088a41ac (patch) | |
tree | eab2a3fce332dfbd5c3342a15de8e5beaf236c74 /build | |
parent | 02c8ec244390aea87c0ba0fe2e1262df240a7190 (diff) |
Check for lsb_release
It can be installed via the lsb-release package on Debian and
derivatives
Diffstat (limited to 'build')
-rwxr-xr-x | build | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |