debmany: Use curl --location to support redirects (Closes: #679225)
Axel Beckert
9 years ago
14 | 14 |
- Use 2x dpkg instead of dpkg-architecture (Closes: #665880)
|
15 | 15 |
- Don't read architecture list again for each package to check (much
|
16 | 16 |
faster now, thanks to Jakub Wilk for the idea!)
|
|
17 |
* [debmany]
|
|
18 |
- Use curl --location to support redirects (Closes: #679225)
|
17 | 19 |
* Bump debhelper compatibility to 9 to be able to use some more recent
|
18 | 20 |
features. Update versioned debhelper build-dependency accordingly.
|
19 | 21 |
* Revamp debian/rules
|
29 | 29 |
curdir=`pwd`
|
30 | 30 |
|
31 | 31 |
# Version of debmany
|
32 | |
version=1.4
|
|
32 |
version=1.5
|
33 | 33 |
|
34 | 34 |
error()
|
35 | 35 |
{
|
|
328 | 328 |
fi
|
329 | 329 |
# download the package
|
330 | 330 |
debug "Mode3: Start download using curl" # comment
|
331 | |
curl "$url" >"$file" || error "Failed to download '$url' to '$file'."
|
|
331 |
curl --location "$url" >"$file" || error "Failed to download '$url' to '$file'."
|
332 | 332 |
status=repos-curl
|
333 | 333 |
fi
|
334 | 334 |
fi
|