~ubuntu-branches/ubuntu/precise/graphviz/precise-security

« back to all changes in this revision

Viewing changes to debian/libgraphviz4.postinst

  • Committer: Bazaar Package Importer
  • Author(s): David Claughton
  • Date: 2010-03-24 22:45:18 UTC
  • mfrom: (1.2.7 upstream) (6.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20100324224518-do441tthbqjaqjzd
Tags: 2.26.3-4
Add patch to fix segfault in circo. Backported from upstream snapshot
release.  Thanks to Francis Russell for his work on this.
(Closes: #575255)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
 
3
 
set -e
4
 
 
5
 
# Update the configuration file (/usr/lib/graphviz/config3)
6
 
# Needed for the plugins too
7
 
if [ -x /usr/sbin/libgraphviz4-config-update ]; then
8
 
        /usr/sbin/libgraphviz4-config-update -c
9
 
fi
10
 
 
11
 
# Remove the old configuration file if present, see README.Debian-packaging
12
 
# Needed only in libgraphivzN
13
 
if [ -f /usr/lib/graphviz/config ]; then
14
 
        rm -f /usr/lib/graphviz/config
15
 
fi
16
 
 
17
 
#DEBHELPER#