summaryrefslogtreecommitdiff
path: root/debian/prerm.debhelper
diff options
context:
space:
mode:
Diffstat (limited to 'debian/prerm.debhelper')
-rw-r--r--debian/prerm.debhelper11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/prerm.debhelper b/debian/prerm.debhelper
new file mode 100644
index 0000000..3c636ee
--- /dev/null
+++ b/debian/prerm.debhelper
@@ -0,0 +1,11 @@
+# Automatically added by dh_installdocs
+if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/ivycpy ]; then
+ rm -f /usr/doc/ivycpy
+fi
+# End automatically added section
+# Automatically added by dh_installdocs
+if [ "$1" = remove -o "$1" = upgrade ] && \
+ command -v install-docs >/dev/null 2>&1; then
+ install-docs -r ivycpy
+fi
+# End automatically added section