Bug 23895: Move installer file into the mandatory directory
[koha.git] / debian / koha-common.preinst
blob648a2e163248940ccf6233bf039048590102a468
1 #!/bin/sh
3 set -e
5 # Bug 14055 - remove the yui symlink if there's one in the way preventing upgrades
6 [ -h /usr/share/koha/opac/htdocs/opac-tmpl/lib/yui ] && rm /usr/share/koha/opac/htdocs/opac-tmpl/lib/yui
8 # Bug 25485: remove the tiny_mce symlink if there's one in the way preventing upgrades
9 [ -h /usr/share/koha/intranet/htdocs/intranet-tmpl/lib/tiny_mce ] && rm /usr/share/koha/intranet/htdocs/intranet-tmpl/lib/tiny_mce
11 exit 0