# HG changeset patch # User Hans-G?nter Theisgen # Date 1571932488 -3600 # Node ID 487e1c66b9ed029830e5b2946a4e299f10984f54 # Parent 7cfacc80d0675de92ab547a16e8df6b97cec103e corrected package get-uae diff -r 7cfacc80d067 -r 487e1c66b9ed get-uae/receipt --- a/get-uae/receipt Thu Oct 24 16:40:55 2019 +0100 +++ b/get-uae/receipt Thu Oct 24 16:54:48 2019 +0100 @@ -4,7 +4,7 @@ VERSION="1.00" CATEGORY="system-tools" TAGS="emulator" -SHORT_DESC="Get UAE Amiga emulator." +SHORT_DESC="Get the Umiquious Amiga Emulator." MAINTAINER="maintainer@slitaz.org" LICENSE="GPL2" WEB_SITE="http://www.amigaemulator.org/" diff -r 7cfacc80d067 -r 487e1c66b9ed get-uae/stuff/get-uae --- a/get-uae/stuff/get-uae Thu Oct 24 16:40:55 2019 +0100 +++ b/get-uae/stuff/get-uae Thu Oct 24 16:54:48 2019 +0100 @@ -87,16 +87,18 @@ # === Fetch archive file, if not existing === -URL="https://snapshot.debian.org/archive/debian/20100301T043504Z/pool/contrib/u/uae/" +WGET_URL="https://snapshot.debian.org/archive/debian/20100301T043504Z/pool/contrib/u/uae/" if [ "$version" == "latest" ] - then - # wget --output-document=index $URL - # output to be scanned for latest version! - FILE="uae_0.8.29-7_i386.deb" - else - FILE="uae_${version}_i386.deb" + then + # wget --output-document=index $URL + # output to be scanned for latest version! + VERSION="0.8.29-7" + else + VERSION=$version fi -WGET_URL="https://snapshot.debian.org/archive/debian/20100301T043504Z/pool/contrib/u/uae/$FILE" + +FILE="${PACKAGE}_${VERSION}_i386.deb" +WGET_URL="https://snapshot.debian.org/archive/debian/20100301T043504Z/pool/contrib/u/$PACKAGE/$FILE" CUR_DIR=$(pwd) mkdir -p $TMP_DIR @@ -112,7 +114,7 @@ then cd $CUR_DIR rm -rf $TMP_DIR - echo "Could not transfer $FILE from $URL. Exiting." + echo "Could not transfer $FILE from $WGET_URL. Exiting." exit 1 fi fi