Re[2]: [Slapt-get-user] Dependancy Checking wrapper script not working.

Sean Donner slapt-get-user@software.jaos.org
Fri, 6 Feb 2004 15:25:33 -0800


I used the script from the updated FAQ just to be sure I didnt type
something wrong and im still getting
odd messages from the command "./depend.sh --upgrade" although passing
"--update" seems to work now
without giving me the slapt-get usage menu.   Here is the output below:

----- Original Message -----
From: "Jason Woodward" <woodwardj@jaos.org>
To: <slapt-get-user@jaos.org>
Sent: Friday, February 06, 2004 8:49 AM
Subject: Re[2]: [Slapt-get-user] Dependancy Checking wrapper script not
working.


> Hi Sean,
>
> > Thanks for the quick fix. However, now im comming into another problem.
> > When I do "./depend.sh --update" it will sit there for about 1 min,
almost
> > like its hanging and then it will suddenly pop up the slapt-get "usage"
menu
> > that shows all the available flags to use as if for some reason it didnt
> > like the --update flag.   Just to see what would happen, I executed
> > "./depend.sh --upgrade" and below is the output I get.  Pay special
> > attention to the bottom most paragraph after the word "Done", it looks
like
> > the flags are being passed to 'grep' and not to slapt-get.  I hope this
is
> > another simple fix.  Thanks again, and keep up the great work.
>
> Add a few lines to your script:
>
> ### add this check before the extracting package data echo
> if [ ! -f ${MF} ]; then echo "Failed to download MANIFEST"; exit 1; fi
>   echo "extracting package data"
>
> ### change this
> if [ "$1" == "--update" ]; then shift; get_pkg_cache_data; fi
> ### to this
> if [ "$1" == "--update" ]; then get_pkg_cache_data; exit; fi
>
> You can get the updated FAQ here:
http://software.jaos.org/BUILD/slapt-get/FAQ
>
>
> Take care,
> jason
> _______________________________________________
> Slapt-get-user mailing list
> Slapt-get-user@software.jaos.org
> http://software.jaos.org/cgi-bin/mailman/listinfo/slapt-get-user
>
>