View | Details | Raw Unified | Return to bug 17311
Collapse All | Expand All

(-)a/debian/koha-common.postinst (+8 lines)
Lines 148-151 db_stop Link Here
148
update-rc.d koha-common disable
148
update-rc.d koha-common disable
149
update-rc.d koha-common enable
149
update-rc.d koha-common enable
150
150
151
#start service koha-common
152
echo "Restarting memcached …"
153
service memcached restart
154
echo "Starting service koha-common …"
155
service koha-common start
156
echo "Restarting service apache2 …"
157
service apache2 restart
158
151
exit 0
159
exit 0
(-)a/debian/koha-common.preinst (-1 / +3 lines)
Lines 2-7 Link Here
2
2
3
set -e
3
set -e
4
4
5
# stop service koha-common before upgrade
6
[ -e /etc/init.d/koha-common ] && echo "Stopping service koha-common …" && service koha-common stop
7
5
# Bug 14055 - remove the yui symlink if there's one in the way preventing upgrades
8
# 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
9
[ -h /usr/share/koha/opac/htdocs/opac-tmpl/lib/yui ] && rm /usr/share/koha/opac/htdocs/opac-tmpl/lib/yui
7
10
8
- 

Return to bug 17311