summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-01-24 15:13:19 +0100
committerRemi Collet <fedora@famillecollet.com>2013-01-24 15:13:19 +0100
commit88eeea02fc6ae8c525d1759b5a4500360a46e00b (patch)
tree8b2f6dfeb876a0cc2afa8bcaa05a86b2a10aea73
parentfa7527d8d270b72b39e950bc74bc9be2f2636162 (diff)
php-horde-Horde-Core: use system scriptaculous
-rw-r--r--php-horde-Horde-Mime-Viewer.spec5
1 files 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