6 if [ -e etc
/cron.d
/thruk.auto
]; then
7 newversion
=$
(basename $
(readlink version
))
8 sed -i etc
/cron.d
/thruk.auto
-e "s|/omd/versions/[0-9\.]*/|/omd/versions/$newversion/|g" ||
echo "Updating Thruk Jobs Failed"
9 .
/bin
/thruk
-a installcron
> /dev
/null