Subversion Repositories sql-ledger

Compare Revisions

Ignore whitespace Rev 79 → Rev 80

/trunk/debian/sql-ledger-enable
2,8 → 2,20
#
# Activate SQL-Ledger in apache configuration. Small helper script
# to reduce the chance of typos.
#
# This should be rewritten to follow the info in
# <URL:http://deb.riseup.net/mail/buffy/mail-clients/apache/> or
# <URL:http://www.opal.dhs.org/involved/debian/apache/>, before it
# is enabled.
 
httpdconf=/etc/apache/httpd.conf
if [ -d /etc/apache/conf.d ] ; then # Debian/Sarge or later
echo "info: Detected apache for Debian/Sarge or later"
httpdconf=/etc/apache/conf.d/sql-ledger.conf
else
echo "info: Detected apache for Debian/Woody or earlier"
httpdconf=/etc/apache/httpd.conf
fi
 
includeline="Include /etc/sql-ledger/sql-ledger-httpd.conf"
 
if grep -q "^$includeline" $httpdconf ; then
/trunk/debian/rules
63,6 → 63,7
 
# Add here commands to install the package into debian/sql-ledger.
$(MAKE) -C $(build-tree)/sql-ledger install DESTDIR=$(DESTDIR)
 
$(INSTALL) debian/sql-ledger-enable $(DESTDIR)/usr/sbin/