[Slackbuilds-users] Content-Disposition header

Ryan P.C. McQuen ryan.q at linux.com
Sat Mar 21 23:52:07 UTC 2015


On Sat, Mar 21, 2015 at 4:45 PM andrew <andrew.david.strong at gmail.com>
wrote:

> On Sun, Mar 22, 2015 at 10:44:41AM +1100, andrew wrote:
>
> > The source download link is:
> >
> > https://github.com/mstorsjo/fdk-aac/archive/v0.1.3.tar.gz
>
> Sigh... of course I meant the new source which is actually:
>
> https://github.com/mstorsjo/fdk-aac/archive/v0.1.4.tar.gz
>
> 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.



> Andrew
> --
> You think that's air you're breathing now?
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - http://slackbuilds.org/faq/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20150321/82239594/attachment.html>


More information about the SlackBuilds-users mailing list