From 7c7cd91edf60b1c529578a8a1f01cda12105c9cc Mon Sep 17 00:00:00 2001 From: Robin Sheat Date: Fri, 24 Apr 2015 14:48:53 +1200 Subject: [PATCH] Bug 14055: remove symlink that breaks upgrades Old versions of koha-common would put in a symlink to the system YUI libraries. This causes upgrade problems, so we look out for that and zap it if it's there. Signed-off-by: Tomas Cohen Arazi Signed-off-by: Mason James --- debian/koha-common.preinst | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 debian/koha-common.preinst diff --git a/debian/koha-common.preinst b/debian/koha-common.preinst new file mode 100644 index 0000000000..1f3b5e1e36 --- /dev/null +++ b/debian/koha-common.preinst @@ -0,0 +1,6 @@ +#!/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 -- 2.39.5