#!/bin/bash

# script to fixup the crontab for sievebuild in the in-place-upgrade case.

crontab -u root -l > /tmp/tmpa$$
grep volution /tmp/tmpa$$ > /dev/null
if [ $? != 0 ]
then
	rm -f /tmp/tmpa$$
	exit
fi

sed -e 's/lsb-caldera.com-volution/lsb-sco.com/' -e '/^#/d' < /tmp/tmpa$$ > /tmp/tmpb$$

crontab -u root /tmp/tmpb$$

rm -f /tmp/tmpa$$
rm -f /tmp/tmpb$$
