[csw-pkgsubmissions] newpkgs clamav, libclam6, libclam6_devel

Philip Brown phil at bolthole.com
Thu Dec 23 23:57:11 CET 2010


On 12/23/10, Philip Brown <phil at bolthole.com> wrote:
>
> It's fairly trivial for "the maintainer" to toss together a
> postinstall script to copy them from somewhere else. Should take all
> of 10 minutes.
>
> Like a template? I'd be happy to write one, if it's going to actually get
> used.


PS: there are also other ways to go.
For example, if there's some kind of boot-time startup script, it
would be fairly trivial to insert,

if [ ! -f /var/path/file.db ] ; then
  echo NOTICE: no seed file present. Copying in failsafe file $FILEDB
  cp $FILEDB /var/path/file.db
fi



Contrariwise, other people have commented that most people will want
to run "freshclam" as the first thing they do. That would create the
appropriate file(s).

So instead, the boot-time script, could take the file not being there,
as a sign that the user wants to have the software "installed", but
not activate it yet.


More information about the pkgsubmissions mailing list