summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/tqscintilla/tqscintilla-14.0.0.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/dependencies/tqscintilla/tqscintilla-14.0.0.spec')
-rw-r--r--redhat/dependencies/tqscintilla/tqscintilla-14.0.0.spec5
1 files changed, 3 insertions, 2 deletions
diff --git a/redhat/dependencies/tqscintilla/tqscintilla-14.0.0.spec b/redhat/dependencies/tqscintilla/tqscintilla-14.0.0.spec
index a0a3c5978..b9d293309 100644
--- a/redhat/dependencies/tqscintilla/tqscintilla-14.0.0.spec
+++ b/redhat/dependencies/tqscintilla/tqscintilla-14.0.0.spec
@@ -202,8 +202,9 @@ for i in doc/html/*; do
done
# Installs the Designer plugin
-for i in designer/*.so; do
- %__install -D -m 644 $i %{buildroot}${QTDIR}/plugins/designer/${i##*/} || %__install -D -m 644 ${QTDIR}/plugins/$i %{buildroot}${QTDIR}/plugins/designer/${i##*/}
+for i in designer/*.so ${QTDIR}/plugins/designer/*.so; do
+ [ -r "${i}" ] || continue
+ %__install -D -m 644 $i %{buildroot}${QTDIR}/plugins/designer/${i##*/}
done
# Installs libraries