nescivi said :
> Hiho,
> 
> thanks for the hints!
> 
> On Thursday 16 July 2009 14:30:58 Karsten Gebbert wrote:
> > > Meanwhile, if anybody wants to try or contribute to it, please feel free
> > > and ask help or give suggestions on the list.
> > > and yes .... patches welcome ;)
> > >
> > > > Let us know what are your experiences with this!
> > >
> > > oui oui :)
> 
> I added an option CUSTOM next to the existing CD and DVD, so I could put my 
> package selection in a separate file from the CD and DVD files (not loosing 
> these). See below for the part I changed.
> I think that would be a useful addition :)

Yup, Thanks!
Applied in r343

a.


> 
> It's now running the script, so I'll see what comes out :)
> 
> sincerely,
> Marije
> 
> 
> usage()
> {
> cat << EOF
> BROTH - The mother of all soups
> usage: $0 options
>    -h      Show this message
>    -o      Choose output (CD or DVD or CUSTOM)
> EOF
> }
> 
> if [ "$1" == "" ]; then
>     usage ; exit 1
> else
>     while getopts "ho:" OPTION ; do
>       case $OPTION in
>           h)  usage ; exit 1;;
>             o)  OPTARG=`echo $OPTARG | tr '[:lower:]' '[:upper:]'`
>               if [ $OPTARG == "CD" -o $OPTARG == "DVD" -o $OPTARG == "CUSTOM" 
> ]; then
>                     PACKAGES_LISTS="puredyne-$OPTARG"
>                   echo "starting building of $PACKAGES_LISTS"
>                   make_soup
>               else
>                     echo "profile unknown, kthxbye"; exit -1
>               fi
>               ;;
>           *) echo "Not recognized argument, kthxbye"; exit -1 ;;
>       esac
>     done
> fi
> 
> ---
> [email protected]
> irc.goto10.org #pure:dyne
> 

---
[email protected]
irc.goto10.org #pure:dyne

Reply via email to