summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Müller2006-12-17 16:37:25 +0100
committerLars Müller2006-12-17 16:37:25 +0100
commit19f48de1d58d4c717822f8adfab6e1b105318ffc (patch)
treec9687a7274ec8d2bcda79925ed519bd60e396e96
parentAdd basic support for Ubuntu 6.10. The setup works but the install (diff)
downloadcore-19f48de1d58d4c717822f8adfab6e1b105318ffc.tar.gz
core-19f48de1d58d4c717822f8adfab6e1b105318ffc.tar.xz
core-19f48de1d58d4c717822f8adfab6e1b105318ffc.zip
Check for required smart binary.
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@561 95ad53e4-c205-0410-b2fa-d234c58c8868
-rwxr-xr-xinstaller/slxossetup7
1 files changed, 7 insertions, 0 deletions
diff --git a/installer/slxossetup b/installer/slxossetup
index c18763da..25bfa523 100755
--- a/installer/slxossetup
+++ b/installer/slxossetup
@@ -17,6 +17,13 @@ test "$2" && \
PATH="/bin:/usr/bin"
+for binary in smart; do
+ if ! type -p "${binary}" >/dev/null; then
+ echo "$0: Error, required binary, ${binary} not found in PATH, ${PATH}! "
+ exit 1
+ fi
+done
+
if test -z "${SLX_SYSTEM_NAME}"; then
echo "$0: Error, <system-name> not provided! "
exit 1