]> git.deb.at Git - pkg/mmv.git/blobdiff - debian/postinst
Imported Debian patch 1.01b-12
[pkg/mmv.git] / debian / postinst
diff --git a/debian/postinst b/debian/postinst
new file mode 100644 (file)
index 0000000..cb38ac8
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "configure" ]; then
+  if [ -d /usr/doc -a ! -e /usr/doc/mmv -a -d /usr/share/doc/mmv ]; then
+    ln -sf ../share/doc/mmv /usr/doc/mmv
+  fi
+fi