diff --git a/awstats/Makefile b/awstats/Makefile index 8d69bcb8..94282c61 100755 --- a/awstats/Makefile +++ b/awstats/Makefile @@ -19,10 +19,10 @@ install: install -m 0644 -g root -o root alterncawstats.conf $(DESTDIR)/etc/alternc/ install -m 0755 -g root -o root logresolvemerge.pl $(DESTDIR)/usr/lib/alternc/ - install -m 0644 -g www-data -o www-data awstats_alternc.png $(DESTDIR)/usr/share/awstats/icon/other/ - install -m 0755 -g www-data -o www-data alternc-awstats $(DESTDIR)/usr/lib/alternc/ - install -m 0755 -g www-data -o www-data awstats.cache.php $(DESTDIR)/usr/lib/alternc/ + install -m 0644 -g alterncpanel -o root awstats_alternc.png $(DESTDIR)/usr/share/awstats/icon/other/ + install -m 0755 -g alterncpanel -o root alternc-awstats $(DESTDIR)/usr/lib/alternc/ + install -m 0755 -g alterncpanel -o root awstats.cache.php $(DESTDIR)/usr/lib/alternc/ install -m 0644 awstats.sql $(DESTDIR)/usr/share/alternc/ - install -m 0644 -g www-data -o www-data awstats.template.conf $(DESTDIR)/etc/alternc/templates/awstats/ - install -m 0644 -g www-data -o www-data awstats.alternc.generic.conf $(DESTDIR)/etc/alternc/ + install -m 0644 -g alterncpanel -o root awstats.template.conf $(DESTDIR)/etc/alternc/templates/awstats/ + install -m 0644 -g alterncpanel -o root awstats.alternc.generic.conf $(DESTDIR)/etc/alternc/ #install -m 0444 lintian-override $(DESTDIR)/usr/share/lintian/overrides/alternc-awstats diff --git a/debian/alternc-awstats.postinst b/debian/alternc-awstats.postinst index 83bc5bc9..d604e058 100755 --- a/debian/alternc-awstats.postinst +++ b/debian/alternc-awstats.postinst @@ -30,27 +30,6 @@ case "$1" in # configure /etc/alternc/templates/apache/httpd.conf # configure /etc/alternc/templates/apache-ssl/httpd.conf - # FIXME : ALTERNC DEPENDS ON APACHE2, SO APACHE IS NO LONGER SUPPORTED - # REMOVE THE FOLLOWING COMMENTED LINE TO CLEAN THIS FILE - - #if [ -x /usr/sbin/apache ]; then - # if [ ! -h /etc/apache/conf.d/alterncawstats.conf ]; then - # ln -sf /etc/alternc/alterncawstats.conf \ - # /etc/apache/conf.d/alterncawstats.conf - # fi - # # build awstats.log.alternc.conf if it does not exist - # if [ ! -f $LOGAPACHE ]; then - # cat > $LOGAPACHE < /dev/null 2>&1 # ADD menu item : if ! grep -q "^menu_aws.php$" "$MENUFILE"; then