From ba2bd9fbc996c38e90fb125778a4d0f27dcd3f59 Mon Sep 17 00:00:00 2001
From: S M Y <smy.altamash@gmail.com>
Date: Mon, 14 Oct 2019 15:39:39 +0530
Subject: [PATCH] 32 bit installer removal

---
 .../templates/setupOfflineInstaller.sh.j2           | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/ansible/roles/offline-installer/templates/setupOfflineInstaller.sh.j2 b/ansible/roles/offline-installer/templates/setupOfflineInstaller.sh.j2
index 5eeb0e29d..bedfa42b9 100644
--- a/ansible/roles/offline-installer/templates/setupOfflineInstaller.sh.j2
+++ b/ansible/roles/offline-installer/templates/setupOfflineInstaller.sh.j2
@@ -1,13 +1,16 @@
 #!/bin/bash
 
+if [ "{{offline_installer_type}}" != "windows32" ];
+then
 # Downgrade the node version
-npm install -g n
-n 8.16
+	npm install -g n
+	n 8.16
 
 #Build the offline installer
-cd src
-npm install
-npm run dist
+	cd src
+	npm install
+	npm run dist
+fi
 
 if [ "{{offline_installer_type}}" == "windows32" ];
 then
-- 
GitLab