Update activity a-l

Update activity m-q

Update activity r-z

Change urls and activity status

Update urls

Update check_updates.sh
This commit is contained in:
Ed Reel
2018-07-08 22:55:00 -05:00
parent 23bc59d1e4
commit c7e64f39fc
2 changed files with 974 additions and 62 deletions

View File

@@ -6,18 +6,25 @@ if [ ! -f packages.yaml ]; then
echo "packages.yaml not found."
exit 1
fi
grep ^url: packages.yaml | cut -d' ' -f2 > /tmp/urls.txt
if test $1; then
grep -1 "^activity: $1" packages.yaml > /tmp/activity.txt
grep ^url: /tmp/activity.txt | cut -d' ' -f2 > /tmp/urls.txt
rm -f /tmp/activity.txt
else
grep ^url: packages.yaml | cut -d' ' -f2 > /tmp/urls.txt
fi
if test $2; then
lines=$(wc -l /tmp/urls.txt | cut -d' ' -f1)
offset=$1
offset=$2
urls=$(($lines - $offset))
if test $2; then
count=$2
if test $3; then
count=$3
tail -$urls /tmp/urls.txt | head -$count > /tmp/new_urls.txt
else
tail -$urls /tmp/urls.txt > /tmp/new_urls.txt
fi
mv /tmp/new_urls.txt /tmp/urls.txt
fi
for u in $(cat /tmp/urls.txt); do elinks $u; done
rm -f /tmp/urls.txt
#for u in $(cat /tmp/urls.txt); do elinks $u; done
#rm -f /tmp/urls.txt
most /tmp/urls.txt

File diff suppressed because it is too large Load Diff