summaryrefslogtreecommitdiffstats
path: root/base/root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'base/root/scripts')
-rwxr-xr-xbase/root/scripts/SoFS-postinstall.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/root/scripts/SoFS-postinstall.sh b/base/root/scripts/SoFS-postinstall.sh
index b32594e..e32f431 100755
--- a/base/root/scripts/SoFS-postinstall.sh
+++ b/base/root/scripts/SoFS-postinstall.sh
@@ -24,8 +24,8 @@ yum -y install sofs-toolset
nodes="@@NODES@@"
# Install the GUI packages if WITH_SOFS_GUI is set or there is one or
# more sofs_gui nodes... and there are GUI packages listed to install.
-if [ \( "@@WITH_SOFS_GUI@@" = 1 -o "${nodes/sofs_gui:/}" != "$nodes" \) -a \
- -n "@@SOFS_GUI_PACKAGES@@" ] ; then
+if [ "@@WITH_SOFS_GUI@@" = 1 -o "${nodes/sofs_gui:/}" != "$nodes" ] && \
+ [ -n "@@SOFS_GUI_PACKAGES@@" ] ; then
yum -y install @@SOFS_GUI_PACKAGES@@
else
echo "Skipping installation of SoFS GUI packages"