3 Commits

Author SHA1 Message Date
pnetlabrepo
3cdd326596 Update CHANGELOG.md 2023-01-22 18:09:19 -03:00
pnetlabrepo
bd7a8eaf18 Update version 2023-01-22 18:08:12 -03:00
pnetlabrepo
487446ec42 Update ishare2 2023-01-22 18:08:01 -03:00
3 changed files with 9 additions and 5 deletions

View File

@@ -1,6 +1,10 @@
# Changelog
All notable changes to this project will be documented in this file. You can upgrade ishare2 to the latest version using `ishare2 upgrade` and then selecting `option 1`
## [v1.5.3] - 2023-Jan-22
1) Modified: --content-disposition was added in order to download images from other repo
## [v1.5.2] - 2023-Jan-22
1) Modified: Some strings were modified when using this option: `ishare2 upgrade` > `option 2`. Now, it looks better for users

View File

@@ -1089,11 +1089,11 @@ function download_1_file_bin_or_dynamips() {
echo -e "$SIZE $UNIT\n"
if [[ $TYPE = "dynamips" ]]; then
wget -q --show-progress -O /opt/unetlab/addons/dynamips/"$NAME" "$LINK"
wget --content-disposition -q --show-progress -O /opt/unetlab/addons/dynamips/"$NAME" "$LINK"
fi
if [[ $TYPE = "bin" ]]; then
wget -q --show-progress -O /opt/unetlab/addons/iol/bin/"$NAME" "$LINK"
wget --content-disposition -q --show-progress -O /opt/unetlab/addons/iol/bin/"$NAME" "$LINK"
fi
}
@@ -1110,7 +1110,7 @@ function download_1_file_qemu() {
echo -e "\n\033[33mFolder requested:\033[0m $FOLDERNAME (""$SIZE"" ""$UNIT"")"
echo -e "\nFile requested:\n $NAME - $SIZE $UNIT\n"
wget -q --show-progress -O "$NAME" "$LINK"
wget --content-disposition -q --show-progress -O "$NAME" "$LINK"
}
function download_multiple_files_qemu() {
@@ -1127,7 +1127,7 @@ function download_multiple_files_qemu() {
for (( c=1; c<=FILES_COUNTER; c++ ))
do
echo -e "\nFile $c/$FILES_COUNTER"
wget -q --connect-timeout 5 --show-progress -P /opt/unetlab/addons/qemu/"$FOLDERNAME" "${myArray[c-1]}"
wget --content-disposition -q --connect-timeout 5 --show-progress -P /opt/unetlab/addons/qemu/"$FOLDERNAME" "${myArray[c-1]}"
done
}

View File

@@ -1 +1 @@
v1.5.2
v1.5.3