summaryrefslogtreecommitdiffstats
path: root/base/root/scripts
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2009-08-21 14:18:08 +1000
committerMartin Schwenke <martin@meltin.net>2009-08-21 14:18:08 +1000
commitb0def552dc7b65110e436bbbd595923ce12789d0 (patch)
tree3fd3b9d0c9434b05708df2ee423fd365dee7e4ab /base/root/scripts
parent4b549de88552d227854c3cdae3fa13eee6f62921 (diff)
Fix mysterious syntax error in SoFS-postinstall.sh.
The previous commit introduced an error because the template substitution seems to eat backslashes in certain circumstances. Signed-off-by: Martin Schwenke <martin@meltin.net>
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"