archboot/usr/lib/initcpio/install/arch_clamav

24 lines
472 B
Text
Raw Normal View History

2012-05-26 12:07:05 +02:00
#!/bin/bash
2009-07-24 13:03:39 +02:00
# Created by Tobias Powalowski <tpowa@archlinux.org>
build ()
2009-07-24 13:03:39 +02:00
{
2013-05-22 09:37:57 +02:00
add_binary "clamscan"
add_binary "freshclam"
2009-07-24 13:03:39 +02:00
# add /var directories
add_dir "/var/log/clamav"
2012-08-15 20:36:06 +02:00
add_file "/etc/clamav/freshclam.conf"
2009-07-25 13:11:24 +02:00
# add unrar support
2010-12-11 01:13:36 +01:00
for i in $(pacman -Ql clamav | cut -d ' ' -f2 | grep /usr/lib/libclamunrar); do
add_file "$i"
done
2012-05-26 12:07:05 +02:00
add_runscript
2009-07-24 13:03:39 +02:00
}
help ()
{
cat<<HELPEOF
This hook includes clamav on an arch boot image.
HELPEOF
}