#!/bin/sh
if test $(id -u) != 0; then
 echo Error: You must be root to run this script!
 exit 1
fi
cd /usr/local/bin
for script in *sh; do
 echo -n $script...
 if wget -N http://kanotix.com/files/$script &>/dev/null; then
  echo current version
 else
  echo no update available
 fi
done
