mirror of https://github.com/hak5/openwrt-owl.git
parent
66f8e1122e
commit
5b72dc3d8f
|
@ -107,7 +107,7 @@ get_image() {
|
||||||
local from="$1"
|
local from="$1"
|
||||||
local conc="cat"
|
local conc="cat"
|
||||||
|
|
||||||
[ $GZIPED -eq 1 ] && conc="zcat"
|
[ "$GZIPED" -eq 1 ] && conc="zcat"
|
||||||
|
|
||||||
case "$from" in
|
case "$from" in
|
||||||
http://*|ftp://*) wget -O- -q "$from" | "$conc";;
|
http://*|ftp://*) wget -O- -q "$from" | "$conc";;
|
||||||
|
|
Loading…
Reference in New Issue