From 88eeea02fc6ae8c525d1759b5a4500360a46e00b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 24 Jan 2013 15:13:19 +0100 Subject: php-horde-Horde-Core: use system scriptaculous --- php-horde-Horde-Mime-Viewer.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/php-horde-Horde-Mime-Viewer.spec b/php-horde-Horde-Mime-Viewer.spec index 2eebf20..a424cac 100644 --- a/php-horde-Horde-Mime-Viewer.spec +++ b/php-horde-Horde-Mime-Viewer.spec @@ -109,9 +109,10 @@ ln -s %{_datadir}/syntaxhighlighter %{buildroot}%{pear_hordedir}/js/syntaxhighli %pre # directory replace by a link -if [ -d %{pear_hordedir}/js/syntaxhighlighter ] +lib=%{pear_hordedir}/js/syntaxhighlighter +if [ -d $lib -a ! -L $lib ] then - rm -rf %{pear_hordedir}/js/syntaxhighlighter + rm -rf $lib fi -- cgit