change aria2 to wget

This commit is contained in:
victor 2021-01-04 20:39:35 +03:30
parent e03b59409a
commit 2177830173
3 changed files with 7 additions and 5 deletions

View File

@ -26,13 +26,12 @@ This bash script helps you to install `Adobe Illustrator CC` on your Linux distr
2-make sure the following packages are already installed on your Linux distro
* `wine`
* `aria2c`
* `md5sum`
if they are not already installed you can install them using your package manager for example in arch Linux
```bash
sudo pacman -S wine aria2
sudo pacman -S wine
```
3- make sure you have enough storage in your `/home` partition about `2 GiB`
> 400 MiB will be free after installation
@ -87,6 +86,8 @@ chmod +x uninstaller.sh
```
---
<a href="https://poshtiban.com">
<img src="https://raw.githubusercontent.com/Gictorbit/photoshopCClinux/master/images/poshtibancom.png" width="25%"></a> <a href="https://github.com/Gictorbit/photoshopCClinux">
<img src="https://raw.githubusercontent.com/Gictorbit/photoshopCClinux/master/images/poshtibancom.png" width="25%"></a>
<a href="https://github.com/Gictorbit/photoshopCClinux">
<img src="https://github.com/Gictorbit/photoshopCClinux/raw/master/images/AdobePhotoshop-icon.png" width="9%">
</a>

View File

@ -9,7 +9,7 @@ function main() {
setup_log "================| script executed |================"
#make sure aria2c and wine package is already installed
package_installed aria2c
# package_installed aria2c
package_installed wine
package_installed md5sum

View File

@ -183,7 +183,8 @@ function download_component() {
fi
else
show_message "downloading $4 ..."
aria2c -c -x 8 -d $CACHE_PATH -o $4 $3
# aria2c -c -x 8 -d $CACHE_PATH -o $4 $3
wget $3 -P $CACHE_PATH
if [ $? -eq 0 ];then
notify-send "$4 download completed" -i "download"
fi