diff --git a/quickdl.sh b/quickdl.sh new file mode 100755 index 0000000..d997abf --- /dev/null +++ b/quickdl.sh @@ -0,0 +1,24 @@ +#!/bin/bash + +function chkDeps(){ + + if [ ! -f "/usr/bin/aria2c" ];then + echo -e "Please Download 'aria2' with your package manager\n" + echo "Ubuntu: sudo apt install aria2" + echo "Fedora/RedHat: sudo dnf install aria2" + echo "Void Linux: sudo xbps-install aria2" + exit + fi + +} + + +case "${0}" in + + *) + chkDeps + aria2c -x10 -k1M "${1}" + ;; + + +esac \ No newline at end of file