summaryrefslogtreecommitdiff
path: root/libre/apache-ant/apache-ant.install
diff options
context:
space:
mode:
Diffstat (limited to 'libre/apache-ant/apache-ant.install')
-rw-r--r--libre/apache-ant/apache-ant.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/libre/apache-ant/apache-ant.install b/libre/apache-ant/apache-ant.install
new file mode 100644
index 000000000..6d444337c
--- /dev/null
+++ b/libre/apache-ant/apache-ant.install
@@ -0,0 +1,11 @@
+post_install() {
+ # Small fix after mistake in previous package version
+ if [ -e /usr/share/apache-ant/etc/apache-ant ]
+ then
+ unlink /usr/share/apache-ant/etc/apache-ant
+ fi
+}
+
+post_upgrade() {
+ post_install
+}