[Slackbuilds-users] Content-Disposition header

andrew andrew.david.strong at gmail.com
Sun Mar 22 00:27:02 UTC 2015


On Sat, Mar 21, 2015 at 11:52:07PM +0000, Ryan P.C. McQuen wrote:

> Two ways to get around this that I use:
> 
> 
> tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
> 
> if [ -e $CWD/v$VERSION.tar.gz ]; then
>   tar xvf $CWD/v$VERSION.tar.gz
> else
>   tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
> fi
> 
> 
> The second is a bit more verbose, but won't spit out a 'file not found' error.

Thanks Ryan I will work with these. I have also seen some discussion on
the same issue in earlier mailing lists posts which also talk about
SBopkg and this issue.

Thanks,

Andrew

-- 
You think that's air you're breathing now?


More information about the SlackBuilds-users mailing list