#!/bin/sh

path="ftp.suse.com/pub/projects/security/cvrf1.2"

fn=`ls -rt /mounts/mirror/SuSE/$path|tail -n 1`

if curl -s https://$path/$fn | grep "404 Not Found" >/dev/null  ; then
	echo "https://$path/$fn not found, but should be live"
fi
