archrelease: copy trunk to community-any
[ArchLinux/community.git] / bluefish / trunk / bluefish.install
blobce6a6b9648f449e880c38570b574336c8592afa0
1 post_install() {
2   if [ ! -d etc/xml ]; then
3     mkdir -p etc/xml
4   fi
5   if [ ! -e etc/xml/catalog ]; then
6     xmlcatalog --noout --create etc/xml/catalog
7   fi
8   xmlcatalog --noout --add 'delegateURI' \
9     'http://bluefish.openoffice.nl/ns/bflang/2.0/' /usr/share/xml/bluefish \
10     etc/xml/catalog
13 pre_upgrade() {
14   post_remove
17 post_upgrade() {
18   post_install
21 post_remove() {
22   xmlcatalog --noout --del \
23     /usr/share/xml/bluefish etc/xml/catalog