Browse Source

Letting dh_installdocs do its work.

master
freesource 23 years ago
parent
commit
478efb0b44
  1. 7
      pkg/dpkg/gbootroot.postinst
  2. 3
      pkg/dpkg/gbootroot.prerm

7
pkg/dpkg/gbootroot.postinst

@ -5,8 +5,5 @@ if [ ! -e /usr/share/gbootroot/yard/Replacements/dev/ubd0 ]; then
mknod /usr/share/gbootroot/yard/Replacements/dev/ubd0 b 98 0
fi
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
#DEBHELPER#

3
pkg/dpkg/gbootroot.prerm

@ -4,3 +4,6 @@
if [ -e /usr/share/gbootroot/yard/Replacements/dev/ubd0 ]; then
rm /usr/share/gbootroot/yard/Replacements/dev/ubd0
fi
#DEBHELPER#

Loading…
Cancel
Save