Mercurial > vanilla
annotate graphics/graphviz/graphviz-post.sh @ 902:a133976e0783
vanilla: remove all origins, closes #2203
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 26 Aug 2019 12:14:53 +0200 |
parents | 1a533ac300c3 |
children | ddab65a5b3f5 |
rev | line source |
---|---|
826
1a533ac300c3
graphics/graphviz: fix dot with post install script
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
1 #!/bin/sh |
1a533ac300c3
graphics/graphviz: fix dot with post install script
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
2 # |
1a533ac300c3
graphics/graphviz: fix dot with post install script
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
3 # Copyright (c) 2019 David Demelier <markand@malikania.fr> |
1a533ac300c3
graphics/graphviz: fix dot with post install script
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
4 # |
1a533ac300c3
graphics/graphviz: fix dot with post install script
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
5 # Permission to use, copy, modify, and/or distribute this software for any |
1a533ac300c3
graphics/graphviz: fix dot with post install script
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
6 # purpose with or without fee is hereby granted, provided that the above |
1a533ac300c3
graphics/graphviz: fix dot with post install script
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
7 # copyright notice and this permission notice appear in all copies. |
1a533ac300c3
graphics/graphviz: fix dot with post install script
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
8 # |
1a533ac300c3
graphics/graphviz: fix dot with post install script
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
9 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
1a533ac300c3
graphics/graphviz: fix dot with post install script
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
10 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
1a533ac300c3
graphics/graphviz: fix dot with post install script
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
11 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |
1a533ac300c3
graphics/graphviz: fix dot with post install script
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
12 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
1a533ac300c3
graphics/graphviz: fix dot with post install script
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
13 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
1a533ac300c3
graphics/graphviz: fix dot with post install script
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
14 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
1a533ac300c3
graphics/graphviz: fix dot with post install script
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
15 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
1a533ac300c3
graphics/graphviz: fix dot with post install script
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
16 # |
1a533ac300c3
graphics/graphviz: fix dot with post install script
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
17 |
1a533ac300c3
graphics/graphviz: fix dot with post install script
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
18 case "$1" in |
1a533ac300c3
graphics/graphviz: fix dot with post install script
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
19 "post-install") |
1a533ac300c3
graphics/graphviz: fix dot with post install script
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
20 rm -f /lib/graphviz/config* |
1a533ac300c3
graphics/graphviz: fix dot with post install script
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
21 /bin/dot -c |
1a533ac300c3
graphics/graphviz: fix dot with post install script
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
22 ;; |
1a533ac300c3
graphics/graphviz: fix dot with post install script
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
23 "post-uninstall") |
1a533ac300c3
graphics/graphviz: fix dot with post install script
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
24 rm -f /lib/graphviz/config* |
1a533ac300c3
graphics/graphviz: fix dot with post install script
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
25 ;; |
1a533ac300c3
graphics/graphviz: fix dot with post install script
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
26 esac |