Browse Source

Letting dh_installdocs do its work.

master
freesource 24 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 mknod /usr/share/gbootroot/yard/Replacements/dev/ubd0 b 98 0
fi fi
if [ "$1" = "configure" ]; then #DEBHELPER#
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

3
pkg/dpkg/gbootroot.prerm

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

Loading…
Cancel
Save