File diff 4cd0e4b24c79 → e69f920bdb5b
yaah
Show inline comments
...
 
@@ -419,10 +419,9 @@ download () {
 

	
 
            curl -o "$downloaddir/$filename" "${AURURL}packages/$start/$1/$filename"
 

	
 
            msg_verbose2 "Setting trap to remove downloaded file"
 
            trap "rm -f '$downloaddir/$filename'" EXIT
 

	
 
            if [[ $? -eq 0 ]]; then
 
                msg_verbose2 "Setting trap to remove downloaded file"
 
                trap "rm -f '$downloaddir/$filename'" EXIT
 
                extract_and_remove "$downloaddir/$filename"
 
            else
 
                error "'$1' could not be found!"