jannet: Add possibility to take installation options from file

This commit is contained in:
Jan Lindemann 2007-10-23 09:47:46 +00:00 committed by Jan Lindemann
commit 64c477834a

View file

@ -81,7 +81,11 @@ update)
install)
sudo smart update ftp.jannet.de
sudo smart install -y $*
if [ -f $1 ]; then
sudo smart install -y `cat $1`
else
sudo smart install -y $*
fi
;;
info)
if [ "$opt_verbose" = true ]; then