1
0
mirror of https://github.com/danog/gigaclone.git synced 2024-11-30 04:29:09 +01:00

Update .travis.gigaclone

This commit is contained in:
Daniil Gentili 2015-11-04 22:11:24 +01:00
parent 86440422e4
commit 0364bb6d2b

View File

@ -27,7 +27,6 @@ echo wh
for f in $(grep "\.bin" $tmp/final);do {
echo -n "e" >&2
file=$(wget -qO- $f | strings)
echo -n "e" >&2
echo "$file" | sed '/http:\/\//!d;/profile.gigaset.net\|update.gigaset.net/!d;s/.*http:\/\//http:\/\//g;s/update\.gigaset/profile\.gigaset/g'
baseurl="$(echo "$f" | sed 's/[^/]*$//')"
@ -43,6 +42,7 @@ echo "Turn down for wh"
for dl in $(cat $tmp/final); do {
echo -n "a" >&2
wget -q "$dl" || continue
curl -w "%{url_effective}\n" -L -s -I -S "$dl" -o /dev/null
};done | grep -v "HTTP" | awk '!seen[$0]++' >$tmp/finall
mv $tmp/finall $dir/urllist