diff --git a/network/eggdrop/eggdrop.conf b/network/eggdrop/eggdrop.conf index faae430e8..e2967b0aa 100644 --- a/network/eggdrop/eggdrop.conf +++ b/network/eggdrop/eggdrop.conf @@ -12,4 +12,12 @@ # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- -hook_add premake 5 "make config" +eggdrop_premake() { + # Make sure docs are installed in the correct location. + # --docdir is of no use :( + sed -i "s,/doc,/doc/$pkg,g" doc/Makefile + + make config +} + +hook_add premake 5 "eggdrop_premake"