From 3243ba1148ed2ad0a6e715b3bef8f6268db76f66 Mon Sep 17 00:00:00 2001 From: Mason James Date: Tue, 8 May 2012 16:59:20 +1200 Subject: [PATCH] Bug 7589 - tinymce editor broken in .deb packages - in 'en' templates this patch fixes a glitchy symlink to tiny_mce Signed-off-by: Jared Camins-Esakov Note that you have to *remove* koha-common then install fresh in order to recreate the symlink. VERY IMPORTANT!!! debian/rules MUST USE TABS. USE -n WHEN COMMITING THIS PATCH, AND DO NOT REPLACE TABS WITH SPACES. Signed-off-by: Jared Camins-Esakov Signed-off-by: Chris Cormack Signed-off-by: Jared Camins-Esakov --- debian/rules | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 64a1790e83..66a1106b30 100755 --- a/debian/rules +++ b/debian/rules @@ -27,8 +27,9 @@ override_dh_auto_install: # $(TMP)/usr/share/koha/opac/htdocs/opac-tmpl/prog/en/lib/jquery/jquery.js rm -r \ $(TMP)/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/js/tinymce + mkdir -p $(TMP)/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/js/tinymce/jscripts ln -s /usr/share/tinymce2/www \ - $(TMP)/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/js/tinymce + $(TMP)/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/js/tinymce/jscripts/tiny_mce rm -r \ $(TMP)/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/lib/yui ln -s /usr/share/javascript/yui \ -- 2.39.5