diff --git a/pkg/dpkg/gbootroot.postinst b/pkg/dpkg/gbootroot.postinst new file mode 100644 index 0000000..497147e --- /dev/null +++ b/pkg/dpkg/gbootroot.postinst @@ -0,0 +1,10 @@ +#!/bin/sh + +mknod /usr/share/gbootroot/yard/replacements/dev/ubd0 b 98 0 + + +if [ "$1" = "configure" ]; then + if [ -d /usr/doc -a ! -e /usr/doc/gbootroot -a -d /usr/share/doc/gbootroot ]; then + ln -sf ../share/doc/gbootroot /usr/doc/gbootroot + fi +fi