aboutsummaryrefslogtreecommitdiff
path: root/debian-dl
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-06-24 16:52:54 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-06-24 16:52:54 -0300
commitf851168c80d1fc85b522612245917c5efd69360a (patch)
treefb4afabd584b2615087328eef957bc5e6670d10c /debian-dl
parent7f7f75feafc95dc8ffa5eb705114ac3b1b5a5fb5 (diff)
downloaddownloaders-f851168c80d1fc85b522612245917c5efd69360a.tar.gz
downloaders-f851168c80d1fc85b522612245917c5efd69360a.tar.bz2
Updates signature extension at debian-dl
Diffstat (limited to 'debian-dl')
-rwxr-xr-xdebian-dl8
1 files changed, 1 insertions, 7 deletions
diff --git a/debian-dl b/debian-dl
index 3558085..8e16718 100755
--- a/debian-dl
+++ b/debian-dl
@@ -12,6 +12,7 @@ URL="$1"
BASE="`dirname $URL`"
RATE="$2"
FILENAME="`basename $URL`"
+SIGN="sign"
# Syntax
if [ -z "$1" ]; then
@@ -19,13 +20,6 @@ if [ -z "$1" ]; then
exit 1
fi
-# Determine signature extension
-if echo $FILENAME | grep -qe '^debian-live'; then
- SIGN="sig"
-else
- SIGN="sign"
-fi
-
# Fetch hashes
for hash in $HASHES; do
wget -c $BASE/$hash