diff options
author | Remi Collet <fedora@famillecollet.com> | 2013-01-24 15:13:19 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2013-01-24 15:13:19 +0100 |
commit | 88eeea02fc6ae8c525d1759b5a4500360a46e00b (patch) | |
tree | 8b2f6dfeb876a0cc2afa8bcaa05a86b2a10aea73 | |
parent | fa7527d8d270b72b39e950bc74bc9be2f2636162 (diff) |
php-horde-Horde-Core: use system scriptaculous
-rw-r--r-- | php-horde-Horde-Mime-Viewer.spec | 5 |
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 |