Bug 14068: fix preinst for fresh package installs

Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Works as expected. Tested both upgrading and on a new install.
Signed-off-by: Mason James <mtj@kohaaloha.com>
This commit is contained in:
Robin Sheat 2015-04-28 15:19:30 +12:00 committed by Mason James
parent 7c7cd91edf
commit 4efa39a1d8
1 changed files with 2 additions and 0 deletions

View File

@ -4,3 +4,5 @@ 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
exit 0