From 03e5b0d4d379b5d0009a16fdfc23ac455b1a90ab 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-Editor.spec | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'php-horde-Horde-Editor.spec') diff --git a/php-horde-Horde-Editor.spec b/php-horde-Horde-Editor.spec index d5e8b78..848f7d3 100644 --- a/php-horde-Horde-Editor.spec +++ b/php-horde-Horde-Editor.spec @@ -86,6 +86,15 @@ ln -s %{_datadir}/ckeditor %{buildroot}%{pear_hordedir}/js/ckeditor rm -rf %{buildroot} +%pre +# directory replace by a link +lib=%{pear_hordedir}/js/ckeditor +if [ -d $lib -a ! -L $lib ] +then + rm -rf $lib +fi + + %post %{__pear} install --nodeps --soft --force --register-only \ %{pear_xmldir}/%{name}.xml >/dev/null || : -- cgit