wok diff get-uae/stuff/get-uae @ rev 22069
updated firefox-official packages (69.0 -> 70.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Oct 25 15:20:25 2019 +0100 (2019-10-25) |
parents | 8649e33c279c |
children |
line diff
1.1 --- a/get-uae/stuff/get-uae Thu Oct 24 16:03:15 2019 +0100 1.2 +++ b/get-uae/stuff/get-uae Fri Oct 25 15:20:25 2019 +0100 1.3 @@ -87,16 +87,18 @@ 1.4 1.5 # === Fetch archive file, if not existing === 1.6 1.7 -URL="https://snapshot.debian.org/archive/debian/20100301T043504Z/pool/contrib/u/uae/" 1.8 +WGET_URL="https://snapshot.debian.org/archive/debian/20100301T043504Z/pool/contrib/u/uae/" 1.9 if [ "$version" == "latest" ] 1.10 - then 1.11 - # wget --output-document=index $URL 1.12 - # output to be scanned for latest version! 1.13 - FILE="uae_0.8.29-7_i386.deb" 1.14 - else 1.15 - FILE="uae_${version}_i386.deb" 1.16 + then 1.17 + # wget --output-document=index $URL 1.18 + # output to be scanned for latest version! 1.19 + VERSION="0.8.29-7" 1.20 + else 1.21 + VERSION=$version 1.22 fi 1.23 -WGET_URL="https://snapshot.debian.org/archive/debian/20100301T043504Z/pool/contrib/u/uae/$FILE" 1.24 + 1.25 +FILE="${PACKAGE}_${VERSION}_i386.deb" 1.26 +WGET_URL="https://snapshot.debian.org/archive/debian/20100301T043504Z/pool/contrib/u/$PACKAGE/$FILE" 1.27 1.28 CUR_DIR=$(pwd) 1.29 mkdir -p $TMP_DIR 1.30 @@ -112,7 +114,7 @@ 1.31 then 1.32 cd $CUR_DIR 1.33 rm -rf $TMP_DIR 1.34 - echo "Could not transfer $FILE from $URL. Exiting." 1.35 + echo "Could not transfer $FILE from $WGET_URL. Exiting." 1.36 exit 1 1.37 fi 1.38 fi