summaryrefslogtreecommitdiffstats
path: root/abs/extra/graphviz/graphviz.install
blob: 00510e3f606e9253bbe26683dec368bbcc67bdb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# arg 1:  the new package version
post_install() {
  # Create plugin config /usr/lib/graphviz/config6
  rm -f usr/lib/graphviz/config{,6}
  usr/bin/dot -c
}

# arg 1:  the new package version
# arg 2:  the old package version
post_upgrade() {
  post_install $1
}

# arg 1:  the old package version
pre_remove() {
  rm -f usr/lib/graphviz/config{,6}
}