scripts/Makefile, jannet: Renamed update-jannet-software.sh to jannet

This commit is contained in:
Jan Lindemann 2007-09-03 09:30:40 +00:00 committed by Jan Lindemann
commit ebb9b5d979
2 changed files with 31 additions and 1 deletions

View file

@ -33,7 +33,7 @@ TOPDIR = ../..
include $(TOPDIR)/make/proj.mk
EXE_SH += cvsbuild
EXE_SH += cvsbuild jannet
include $(MODDIR)/make/scripts.mk

30
scripts/jannet Normal file
View file

@ -0,0 +1,30 @@
#!/bin/sh
myname=`basename $0`
usage()
{
cat << EOT
$myname command
command is one of
update: update all jannet software on the system
EOT
if [ "$1" ]; then
exit $1
fi
}
case $1 in
update)
sudo smart update ftp.jannet.de
sudo smart upgrade -y
;;
*)
usage 1
;;
esac