diff options
author | don bright <hugh.m.bright@gmail.com> | 2012-07-12 00:52:47 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2012-07-12 00:52:47 (GMT) |
commit | 3d94628e34cf016d19c2e3e2661dc1d41144d03b (patch) | |
tree | 16c32a28932c07877377936a5b1d0213c7c75c3f /scripts/ubuntu-build-dependencies.sh | |
parent | beac717910a0dab457842b3d8dfaa14cfaf46c36 (diff) |
detect debian version. give advice if too old.
Diffstat (limited to 'scripts/ubuntu-build-dependencies.sh')
-rwxr-xr-x | scripts/ubuntu-build-dependencies.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/ubuntu-build-dependencies.sh b/scripts/ubuntu-build-dependencies.sh index 912ba80..9c68751 100755 --- a/scripts/ubuntu-build-dependencies.sh +++ b/scripts/ubuntu-build-dependencies.sh @@ -4,6 +4,12 @@ too_old() echo "System version too low. Please try 'old linux' build (see README.md)" } +if [ "`cat /etc/issue | grep 'Debian GNU/Linux 6.0'`" ]; then + too_old +fi +if [ "`cat /etc/issue | grep 'Debian GNU/Linux 5'`" ]; then + too_old +fi if [ "`cat /etc/issue | grep 'Ubunutu 10'`" ]; then too_old fi |