From 64c477834af1c40b83dab7d1c066a698ff03890c Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Tue, 23 Oct 2007 09:47:46 +0000 Subject: [PATCH] jannet: Add possibility to take installation options from file --- scripts/jannet | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/jannet b/scripts/jannet index 5cfe9733..fae3db23 100644 --- a/scripts/jannet +++ b/scripts/jannet @@ -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