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 <dcook@prosentient.com.au>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
David Cook 2020-05-18 05:41:34 +00:00 committed by Martin Renvoize
parent f342b0b617
commit d517453d95
Signed by: martin.renvoize
GPG key ID: 422B469130441A0F

View file

@ -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