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

(-)a/debian/koha-common.postinst (-1 / +7 lines)
Lines 131-136 EOF Link Here
131
    fi
131
    fi
132
fi
132
fi
133
133
134
# Bug 14106 - fix the modulePath of existing koha instances so that it'll
135
# continue to work. This will only patch the files if the exact original string
136
# that we're fixing them from is there, so we just run it every time. Maybe
137
# in many years time we can get rid of this, when no one will be running
138
# Koha < 3.20.
139
perl -p -i -e 's{^modulePath: /usr/lib/idzebra-2.0/modules$}{modulePath: /usr/lib/idzebra-2.0/modules:/usr/lib/x86_64-linux-gnu/idzebra-2.0/modules:/usr/lib/i386-linux-gnu/idzebra-2.0/modules:/usr/lib/aarch64-linux-gnu/idzebra-2.0/modules:/usr/lib/arm-linux-gnueabi/idzebra-2.0/modules:/usr/lib/arm-linux-gnueabihf/idzebra-2.0/modules:/usr/lib/mips-linux-gnu/idzebra-2.0/modules:/usr/lib/mipsel-linux-gnu/idzebra-2.0/modules:/usr/lib/powerpc-linux-gnu/idzebra-2.0/modules:/usr/lib/powerpc64le-linux-gnu/idzebra-2.0/modules:/usr/lib/s390x-linux-gnu/idzebra-2.0/modules}' $( find /etc/koha/sites -name zebra-authorities.cfg -or -name zebra-authorities-dom.cfg -or -name zebra-biblios.cfg -or -name zebra-biblios-dom.cfg )
140
134
db_stop
141
db_stop
135
142
136
exit 0
143
exit 0
137
- 

Return to bug 14106