> So... I guess you had some code that is missing here, isn't it? Just in case you didn't have it and if I understood it well... I came up with this in a quick attempt:
V="$(dpkg --status squid 2>/dev/null|sed -n "s/^Version: \(.*\)/\1/p")" if [ -n "$V" ] && dpkg --compare-versions "$V" lt '2.8' && test -d /etc/squid3; then mv /etc/squid/squid.conf /etc/squid/squid.conf.pre3.5_upgrade fi Regards... -- Manty/BestiaTester -> http://manty.net