Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3cdd326596 | ||
|
|
bd7a8eaf18 | ||
|
|
487446ec42 |
@@ -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
|
||||
|
||||
8
ishare2
8
ishare2
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user