David Cook
d517453d95
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>
11 lines
434 B
Bash
11 lines
434 B
Bash
#!/bin/sh
|
|
|
|
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
|