Changeset - bea5e205a548
[Not reviewed]
default
0 1 0
Dennis Fink - 7 years ago 2013-03-01 23:10:07
the_metalgamer@hackerspace.lu
added functionality to download more packages at once
1 file changed with 3 insertions and 4 deletions:
yaah
3
4
0 comments (0 inline, 0 general)
yaah
Show inline comments
...
 
@@ -229,7 +229,7 @@ extract_and_remove () {
 

	
 
download () {
 

	
 
    if [[ $# -eq 1 ]]; then
 
    until [[ -z "$1" ]]; do
 
        local start=${1::2}
 
        local filename="${1}.tar.gz"
 

	
...
 
@@ -243,9 +243,8 @@ download () {
 
            error "'$1' could not be found!"
 
            return 1
 
        fi
 
    else
 
        error "Not enough parameters supplied" return 1
 
    fi
 
        shift
 
    done
 

	
 
}
 

	
0 comments (0 inline, 0 general)