1
0
mirror of synced 2026-05-01 06:08:37 +00:00

Fix syntax error 'unexpected operator' in kernel architecture check

This commit is contained in:
Axel Beckert
2010-05-16 03:13:24 +02:00
parent d0b7777218
commit 5653681c95

View File

@@ -32,9 +32,9 @@ logMessage Script $0 starting
# Resolve the correct architecutre
#
if [ "${arch}" == "i386" ]; then
if [ "${arch}" = "i386" ]; then
XEN_ARCH="686"
elif [ "${arch}" == "amd64" ]; then
elif [ "${arch}" = "amd64" ]; then
XEN_ARCH="amd64"
else
logMessage Unkown kernel arhcitechture ${arch}