X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=debian%2Fpostinst;fp=debian%2Fpostinst;h=cb38ac80edf154ec1e11cdc0d156f061d9af61e9;hb=bf800994d6598a56ee0690be95967dcee3b861d1;hp=0000000000000000000000000000000000000000;hpb=7c8e742efabf293a730effc91f40f7f628a1b03a;p=pkg%2Fmmv.git diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 0000000..cb38ac8 --- /dev/null +++ b/debian/postinst @@ -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