archboot/lib/initcpio/install/arch_clamav

29 lines
748 B
Text
Raw Normal View History

2009-07-24 13:03:39 +02:00
# Created by Tobias Powalowski <tpowa@archlinux.org>
install ()
{
MODULES=""
2009-07-25 09:18:44 +02:00
BINARIES="clamscan freshclam"
2009-07-24 13:03:39 +02:00
FILES=""
2009-07-25 14:30:17 +02:00
SCRIPT="arch_clamav"
2009-07-24 13:03:39 +02:00
# add /var directories
add_dir "/var/run/clamav"
2009-07-25 14:30:17 +02:00
add_dir "/var/lib/"
2009-07-24 13:03:39 +02:00
add_dir "/var/log/clamav"
2009-07-25 09:18:44 +02:00
add_file "/usr/share/archboot/clamav/etc/clamav/freshclam.conf" "/etc/clamav/freshclam.conf"
2009-07-25 13:11:24 +02:00
# add unrar support
add_file "/usr/lib/libclamunrar.so"
add_file "/usr/lib/libclamunrar.so.6"
add_file "/usr/lib/libclamunrar.so.6.0.4"
add_file "/usr/lib/libclamunrar_iface.so"
add_file "/usr/lib/libclamunrar_iface.so.6"
add_file "/usr/lib/libclamunrar_iface.so.6.0.4"
2009-07-24 13:03:39 +02:00
}
help ()
{
cat<<HELPEOF
This hook includes clamav on an arch boot image.
HELPEOF
}