aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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