mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
network/freerdp: Fix download filename issue.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
fe3b09c70f
commit
1c7c84dc98
1 changed files with 8 additions and 1 deletions
|
@ -26,13 +26,20 @@
|
|||
|
||||
PRGNAM=freerdp
|
||||
VERSION=${VERSION:-1.2.0_beta1_android9}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
TARNAME=${VERSION%_*}+${VERSION##*_}
|
||||
TARNAME=${TARNAME/_/-}.tar.gz
|
||||
DIRNAME=FreeRDP-${VERSION//_/-}
|
||||
|
||||
# If the source is downloaded with a browser or content_disposition set the
|
||||
# filename is different.
|
||||
ALTTARNAME=FreeRDP-${VERSION//_/-}.tar.gz
|
||||
if [ -f $ALTTARNAME ]; then
|
||||
TARNAME=$ALTTARNAME
|
||||
fi
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i486 ;;
|
||||
|
|
Loading…
Reference in a new issue