From 013c7154ffa81c3314a33ef25671b88483c6bbd7 Mon Sep 17 00:00:00 2001
From: Mark Olesen <Mark.Olesen@esi-group.com>
Date: Tue, 4 Dec 2018 18:33:41 +0100
Subject: [PATCH] STYLE: avoid spurious message about non-system qt

- arises when update-alternatives or similar are being used.
---
 etc/tools/ParaViewFunctions | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/etc/tools/ParaViewFunctions b/etc/tools/ParaViewFunctions
index c552551..08f4288 100644
--- a/etc/tools/ParaViewFunctions
+++ b/etc/tools/ParaViewFunctions
@@ -467,6 +467,8 @@ You may need to update the OpenFOAM environment by running:
 INFO
 
     # Non-system installation of QT?
+    case "$qtLib" in (/usr/lib | /usr/lib64) unset qtLib ;; esac
+
     if [ "$qmake" != /usr/bin/qmake -a -d "$qtLib" ]
     then
         /bin/cat<<INFO
-- 
GitLab