[Pkg-nagios-changes] [pkg-nagios] r1739 - nagios3/trunk/debian
Alexander Wirt
formorer at alioth.debian.org
Sat Sep 5 13:59:22 UTC 2009
Author: formorer
Date: 2009-09-05 13:59:21 +0000 (Sat, 05 Sep 2009)
New Revision: 1739
Modified:
nagios3/trunk/debian/rules
Log:
Move cgi.cfg to the right place
Modified: nagios3/trunk/debian/rules
===================================================================
--- nagios3/trunk/debian/rules 2009-09-05 13:59:20 UTC (rev 1738)
+++ nagios3/trunk/debian/rules 2009-09-05 13:59:21 UTC (rev 1739)
@@ -7,6 +7,7 @@
b := $(shell pwd)/debian
bnc := $b/nagios3-common
+bncgi := $b/nagios3-cgi
bnd := $b/nagios3-doc
export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
@@ -118,6 +119,9 @@
make install-unstripped DESTDIR=$b/nagios3 INSTALL_OPTS=""
# move some arch-indep stuff to the other packages
cp -a $b/nagios3/usr/share/nagios3/htdocs ${bnd}/usr/share/nagios3/
+ cp -a $b/nagios3/usr/lib/cgi-bin/* ${bncgi}/usr/lib/cgi-bin/
+ mv $b/nagios3/etc/nagios3/cgi.cfg ${bncgi}/etc/nagios3
+ rm -rf $b/nagios3/usr/lib/cgi-bin
rm -rf $b/nagios3/usr/share/nagios3
# remove empty directory
rmdir --ignore-fail-on-non-empty -p $b/nagios3/var/lib/nagios3/archives
More information about the Pkg-nagios-changes
mailing list