File: libgvc6.postinst

package info (click to toggle)
graphviz 2.42.4-3
  • links: PTS
  • area: main
  • in suites: trixie
  • size: 95,884 kB
  • sloc: ansic: 1,051,566; cpp: 9,107; makefile: 5,538; tcl: 4,897; sh: 4,506; yacc: 4,190; xml: 2,970; cs: 1,921; objc: 1,157; lex: 625; java: 560; perl: 445; python: 255; awk: 241; javascript: 146; ruby: 64; php: 59; sed: 1
file content (20 lines) | stat: -rw-r--r-- 475 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

set -e

# Update the configuration file (/usr/lib/[MULTIARCH]/graphviz/config6a)
# Needed for the plugins too
if [ -x /usr/sbin/libgvc6-config-update ]; then
	libgvc6-config-update -c
fi

# Remove the old configuration file if present, see README.Debian-packaging
# Needed only in libgraphivzN
if [ -f /usr/lib/graphviz/config ]; then
	rm -f /usr/lib/graphviz/config6
fi
if [ -f /usr/lib/graphviz/config6a ]; then
	rm -f /usr/lib/graphviz/config6a
fi

#DEBHELPER#