examples missing, /etc/perlbal on Debian, patch included
Andrew Sweger
andrew at sweger.net
Tue Oct 30 17:52:21 UTC 2007
I finally have an excuse to actually use perlbal. I used 1.60 to build
debs using the provided debian/* files. But the example files are not
installed and /etc/perlbal isn't quite setup correctly. Looks like some
files moved around, but postinst didn't keep up. Attached patch file seems
to fix it.
--
Andrew B. Sweger -- The great thing about multitasking is that several
things can go wrong at once.
-------------- next part --------------
--- debian/perlbal.postinst (revision 724)
+++ debian/perlbal.postinst (local)
@@ -1,15 +1,15 @@
#!/bin/sh
+# /etc/perlbal handled by dh_installdirs
+
if [ ! -e /etc/perlbal/perlbal.conf ]
then
- mkdir -p /etc/perlbal
- cp /usr/share/perlbal/perlbal.conf.default /etc/perlbal/perlbal.conf
+ cp /usr/share/doc/perlbal/examples/perlbal.conf /etc/perlbal/
fi
if [ ! -e /etc/perlbal/nodelist.dat ]
then
- mkdir -p /etc/perlbal
- cp /usr/share/perlbal/nodelist.dat.default /etc/perlbal/nodelist.dat
+ cp /usr/share/doc/perlbal/examples/nodelist.dat /etc/perlbal/
fi
#DEBHELPER#
--- debian/rules (revision 724)
+++ debian/rules (local)
@@ -62,7 +62,7 @@ binary-indep: build install
dh_testroot
# dh_installcron
# dh_installmenu
-# dh_installexamples
+ dh_installexamples
dh_installinit
dh_installdocs doc/hacking/todo.txt
dh_installchangelogs CHANGES
More information about the perlbal
mailing list