#!/bin/sh

case "$1" in
web)
    cp -p --update buildinfo.html ~/public_html/free/en/software/
    lftp -c "open free; lcd ~/public_html/free/en/software/; cd en/software/; put buildinfo.html"
    ;;
cron)
    scp -rp stats/bin stats/lib dirson@gluck.debian.org:
    ;;
*)
    echo >&2 "ERROR: unknown subcommand \`$1'"
esac
