# get hostname. This way till we have a macro.W_HOST=`hostname`
[$?=0]||W_HOST=localhost
[$?=0]&&{
/usr/bin/subst"s,__HOST__,$W_HOST,g"/etc/webalizer/apache.conf||:
}
[$?=0]&&{
/usr/bin/subst"s,__HOST__,$W_HOST,g"/etc/webalizer/vsftpd.conf||:
}
[-f"/etc/webalizer.conf"]&&\
echo"NB: default webalizer configuration place is under /etc/webalizer/ nowtoallowforeasiermanagementof.conffiles;youmaywanttolookthere
and/orupdateyoursetup." ||:[-f"/var/lib/webalizer/dns_cache.db"]&&\
db_upgrade-v/var/lib/webalizer/dns_cache.db
#%postun#/usr/sbin/userdel webalizer# fix awful user/group deletion in previous spec versions :(