#!/bin/sh # Script for Sophos Sweep by Reiner Keller # # For Sophos, see also http://www.sophos.com/support/faqs/autodown.html # ("How to automate the downloading of IDE files"). #cd $SAV_IDE cd /usr/local/lib/sweep-IDE /usr/bin/wget -q -N `/usr/local/bin/sweep -v |/usr/bin/grep "Product version" |/usr/bin/sed -e "s/.*: \(.\)\.\(..\)$/ http:\/\/www.sophos.com\/downloads\/ide\/\1\2_ides.zip/"` /usr/bin/unzip -q -n "???_ides.zip" chmod 644 *