[Slackbuilds-users] source download from bitbucket

Markus Rinne markus.ka.rinne at gmail.com
Fri Apr 29 15:45:11 UTC 2016


On Fri, Apr 29, 2016 at 06:35:55PM +0300, Petar Petrov wrote:
> MD5SUMs are the same. Can someone tell me how to make my slackbuild accept
> both names?

if [ -e $CWD/$VERSION.tar.gz ]; then
  tar xvf $CWD/$VERSION.tar.gz
else
  tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
fi

This was suggested here:
https://lists.slackbuilds.org/pipermail/slackbuilds-users/2015-May/014228.html

    Markus


More information about the SlackBuilds-users mailing list