From 0e666ec6234400277ca41553894ec66416558a2a Mon Sep 17 00:00:00 2001 From: David Cook Date: Mon, 18 May 2020 05:41:34 +0000 Subject: [PATCH] Bug 25485: Remove tiny_mce symlink during pre install of deb package This patch removes the tiny_mce symlink before Koha package installation using the same method that we used when we removed the YUI symlink in 2015. Signed-off-by: David Cook --- debian/koha-common.preinst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/koha-common.preinst b/debian/koha-common.preinst index b9d43abfb1..648a2e1632 100644 --- a/debian/koha-common.preinst +++ b/debian/koha-common.preinst @@ -5,4 +5,7 @@ set -e # Bug 14055 - remove the yui symlink if there's one in the way preventing upgrades [ -h /usr/share/koha/opac/htdocs/opac-tmpl/lib/yui ] && rm /usr/share/koha/opac/htdocs/opac-tmpl/lib/yui +# Bug 25485: remove the tiny_mce symlink if there's one in the way preventing upgrades +[ -h /usr/share/koha/intranet/htdocs/intranet-tmpl/lib/tiny_mce ] && rm /usr/share/koha/intranet/htdocs/intranet-tmpl/lib/tiny_mce + exit 0 -- 2.11.0