blob: c8b62f95df56faf60d657d9a61f7dd437650f85d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
diff --git a/getweb.in b/getweb.in
index 5215e02..400c832 100755
--- a/getweb.in
+++ b/getweb.in
@@ -117,6 +117,10 @@ then
}
fi
+wget() {
+ error "wget must not be called, please report this to maintainer"
+}
+
#
# Download a .EXE file from the web, unzip it, and extract the
# files we want
@@ -124,11 +128,9 @@ getexe() {
url="$1"
exefile="$2"
shift; shift
-
- wget $WGETOPTS -O $exefile "$url/$exefile" ||
- error "Couldn't download $url/$exefile"
- unzip -oj $exefile "$@"
- rm $exefile
+
+ echo "$url/$exefile"
+ return
}
#
@@ -138,17 +140,13 @@ gettgz() {
url="$1"
file="$2"
what="$3"
-
- wget $WGETOPTS -O $file "$url/$file" ||
- error "Couldn't download $url/$file"
- gunzip <$file | tar xvf - $what
- rm $file
+
+ echo "$url/$file"
+ return
}
copyright() {
- echo
- echo "$1"
- echo
+ return
}
getone() {
|