logMessage Script $0 starting
-if [ ${pygrub} ]; then
+if [ "${pygrub}" ]; then
#
# Attempt to install a xen kernel, if that fails, then install a normal one
else
logMessage pygrub not set, skipping kernel install
-fi
+fi # if pygrub
#
# Log our finish
logMessage Script $0 starting
-if [ ${pygrub} ]; then
+if [ "${pygrub}" ]; then
#
# Attempt to install a xen kernel, if that fails, then install a normal one
else
logMessage pygrub not set, skipping kernel install
-fi
+fi # if pygrub
#
# Log our finish
else
. ./hooks/common.sh
fi
-
-if [ "${pygrub}" ]; then
#
# Log our start
#
logMessage Script $0 starting
+if [ "${pygrub}" ]; then
+
#
# The type of kernel that we will be installing
#