Skip to content

Commit

Permalink
Name change on zip file download
Browse files Browse the repository at this point in the history
  • Loading branch information
rneher-igel committed Dec 7, 2023
1 parent c69498a commit f64defd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions CP_Source/Apps/IcedTea-Web/build/build-icedtea-cp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
# Download Latest App for Linux (Debian)
# https://www.azul.com/downloads/icedtea-web-community/
# https://www.azul.com/products/components/icedtea-web/
if ! compgen -G "$HOME/Downloads/zulu-icedtea-web*.zip" > /dev/null; then
# azul-icedtea-web-1.8.8-28.portable.zip
if ! compgen -G "$HOME/Downloads/azul-icedtea-web*.zip" > /dev/null; then
echo "***********"
echo "Obtain latest .zip package, save into $HOME/Downloads and re-run this script "
echo "https://www.azul.com/products/components/icedtea-web/"
Expand All @@ -23,7 +24,7 @@ cd build_tar

mkdir -p custom/icedtea/services/zulu_jre8/jre

unzip $HOME/Downloads/zulu-icedtea-web*.zip
unzip $HOME/Downloads/azul-icedtea-web*.zip

cp -R icedtea-web-image/* custom/icedtea/services/zulu_jre8/jre

Expand Down Expand Up @@ -52,7 +53,7 @@ mv custom/target/build/javaws-wrapper.desktop custom/icedtea/usr/share/applicati
cd custom

# edit inf file for version number
VERSION=$(basename $HOME/Downloads/zulu-icedtea-web*.zip | cut -d "-" -f 4)
VERSION=$(basename $HOME/Downloads/azul-icedtea-web*.zip | cut -d "-" -f 4)
#echo "Version is: " ${VERSION}
sed -i "/^version=/c version=\"${VERSION}\"" target/icedtea.inf
#echo "icedtea.inf file is:"
Expand Down

0 comments on commit f64defd

Please sign in to comment.