[fix] #1521 Awstats package: updates the /etc/awstats conf file
This commit is contained in:
parent
42212f41f8
commit
54dcbe2055
|
@ -28,5 +28,6 @@ install:
|
|||
install -m 0644 -g 1999 -o root awstats.alternc.generic.conf $(DESTDIR)/etc/alternc/
|
||||
install -m 0644 -g 1999 -o root bureau/class/m_aws.php $(DESTDIR)/usr/share/alternc/panel/class/
|
||||
install -m 0644 -g 1999 -o root bureau/admin/* $(DESTDIR)/usr/share/alternc/panel/admin/
|
||||
install -m 750 awstats-install $(DESTDIR)/usr/lib/alternc/install.d/
|
||||
|
||||
#install -m 0444 lintian-override $(DESTDIR)/usr/share/lintian/overrides/alternc-awstats
|
||||
|
|
|
@ -0,0 +1,32 @@
|
|||
#!/bin/bash
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# AlternC - Web Hosting System
|
||||
# Copyright (C) 2000-2012 by the AlternC Development Team.
|
||||
# https://alternc.org/
|
||||
# ----------------------------------------------------------------------
|
||||
# LICENSE
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License (GPL)
|
||||
# as published by the Free Software Foundation; either version 2
|
||||
# of the License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# To read the license please visit http://www.gnu.org/copyleft/gpl.html
|
||||
# ----------------------------------------------------------------------
|
||||
# Purpose of file: Install awstat conf files.
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
if [ "$1" = "before-reload" ]
|
||||
then
|
||||
if [ -f /usr/lib/alternc/awstats.cache.php ]
|
||||
then
|
||||
/usr/lib/alternc/awstats.cache.php
|
||||
fi
|
||||
fi
|
||||
|
|
@ -26,6 +26,7 @@ install:
|
|||
install -m 644 templates/roundcube/plugins/password/config.inc.php $(DESTDIR)/etc/alternc/templates/roundcube/plugins/password/
|
||||
install -m 644 templates/roundcube/plugins/managesieve/config.inc.php $(DESTDIR)/etc/alternc/templates/roundcube/plugins/managesieve/
|
||||
install -m 644 roundcube_alternc_logo.png $(DESTDIR)/usr/share/roundcube/skins/default/images/
|
||||
install -m 750 awstats.cache.php $(DESTDIR)/usr/lib/alternc/
|
||||
install -m 750 roundcube-install $(DESTDIR)/usr/lib/alternc/install.d/
|
||||
# domaintype template:
|
||||
install -m 644 templates/apache2/roundcube.conf $(DESTDIR)/etc/alternc/templates/apache2/
|
||||
|
|
Loading…
Reference in New Issue