summaryrefslogtreecommitdiff
path: root/debian/ncbi-cn3d.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/ncbi-cn3d.postinst')
-rw-r--r--debian/ncbi-cn3d.postinst8
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/ncbi-cn3d.postinst b/debian/ncbi-cn3d.postinst
new file mode 100644
index 00000000..2080f0a6
--- /dev/null
+++ b/debian/ncbi-cn3d.postinst
@@ -0,0 +1,8 @@
+#!/bin/sh -e
+
+update-alternatives --install \
+ /usr/bin/Cn3D Cn3D /usr/bin/Cn3D-3.0 30 \
+ --slave /usr/share/man/man1/Cn3D.1.gz Cn3D.1.gz \
+ /usr/share/man/man1/Cn3D-3.0.1.gz
+
+#DEBHELPER#