From 5ef67eea42ace24b649dbeaa9f154468371788d6 Mon Sep 17 00:00:00 2001
From: Mingrui Zhang <mingrui.zhang@savoirfairelinux.com>
Date: Tue, 22 Dec 2020 13:23:07 -0500
Subject: [PATCH] misc: use copy-runtime-files.py only in client-qt

Change-Id: If96860fed6a232566b04d131b84f4ce847399572
---
 scripts/install.sh | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/scripts/install.sh b/scripts/install.sh
index 4c31b8f1..7ea3c4c1 100755
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -197,8 +197,10 @@ make -j"${proc}"
 make_install "${global}" "${priv_install}"
 
 # copy runtime files
-if [ -z ${qt5path}]; then
-  python ../copy-runtime-files.py
-else
-  python ../copy-runtime-files.py -q ${qt5path}
+if [ ${client} = "client-qt" ]; then
+  if [ -z ${qt5path} ]; then
+    python ../copy-runtime-files.py
+  else
+    python ../copy-runtime-files.py -q ${qt5path}
+  fi
 fi
-- 
GitLab