summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-10-08 09:07:13 +0200
committerErich Eckner <git@eckner.net>2016-10-08 09:07:13 +0200
commitdc495b40a9210b33d59949a739c875c14e791d66 (patch)
treec041be5cb75c38aaaf2d75c8782fac6ddd2dd144
parent1018e7b2ab1393f1a75a2f0a611d485ccaf3220b (diff)
downloadmakekernel-dc495b40a9210b33d59949a739c875c14e791d66.tar.xz
ignore Proxy if unavailable
-rw-r--r--makekernel.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/makekernel.in b/makekernel.in
index 99e375c..dca67b6 100644
--- a/makekernel.in
+++ b/makekernel.in
@@ -17,8 +17,8 @@ usage () {
}
dlExVer () {
- wget -nd "${proxyPrefix}$1.xz"
- wget -nd "${proxyPrefix}$1.sign"
+ wget -nd "${proxyPrefix}$1.xz" || wget -nd "$1.xz"
+ wget -nd "${proxyPrefix}$1.sign" || wget -nd "$1.sign"
xz -d "$2.xz"
if ! gpg --verify $2{.sign,}
then