blob: 4af1430f1f2b3f591e8c6bfe8a4300d6bf3d623d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/sh
PATH=${PATH}:/bin:/usr/bin:/usr/local/bin
export PATH
PREFIX=`xml2-config --prefix`
ROOTCATALOG=${PREFIX}/share/xml/catalog.ports
if [ "$2" = "POST-INSTALL" ]; then
SKPREFIX=`scrollkeeper-config --prefix`
echo "`date +"%b %d %X"` Installing ScrollKeeper `scrollkeeper-config --version`..." >> /var/log/scrollkeeper.log
xmlcatalog --noout --add "public" \
"-//OMF//DTD Scrollkeeper OMF Variant V1.0//EN" \
"${SKPREFIX}/share/xml/scrollkeeper/dtds/scrollkeeper-omf.dtd" \
${ROOTCATALOG}
scrollkeeper-rebuilddb -q -p /var/db/scrollkeeper || /usr/bin/true
fi
|