aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMatthew Marchese <maffblaster@gentoo.org>2017-07-27 13:48:53 -0700
committerMatthew Marchese <maffblaster@gentoo.org>2017-07-27 20:54:05 -0700
commit7eff9a24227f6375b55d387771a563a7f4e17dec (patch)
tree579b29839ac66cff297eba6b7da1c03fa274b6c2 /bin
parentUse HTTPS for planet RSS feed download. (diff)
downloadwww-7eff9a24227f6375b55d387771a563a7f4e17dec.tar.gz
www-7eff9a24227f6375b55d387771a563a7f4e17dec.tar.bz2
www-7eff9a24227f6375b55d387771a563a7f4e17dec.zip
Make scripts have consistent output.
Signed-off-by: Matthew Marchese <maffblaster@gentoo.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/update-downloads.sh6
-rwxr-xr-xbin/update-packages.sh2
-rwxr-xr-xbin/update-wiki.sh2
3 files changed, 5 insertions, 5 deletions
diff --git a/bin/update-downloads.sh b/bin/update-downloads.sh
index b113fdb..6d618e4 100755
--- a/bin/update-downloads.sh
+++ b/bin/update-downloads.sh
@@ -70,12 +70,12 @@ main() {
cd "$(dirname "$0")"/..
local arch
- printf 'Updating downloads... '
+ printf 'Updating downloads'
for arch in "${ARCHES[@]}"; do
- printf '%s ' "${arch}"
+ printf ' %s' "${arch}"
update_arch "${arch}"
done
- echo 'done.'
+ echo '...done.'
}
main "$@"
diff --git a/bin/update-packages.sh b/bin/update-packages.sh
index 8a267a2..13b89c5 100755
--- a/bin/update-packages.sh
+++ b/bin/update-packages.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-echo -n 'Updating Packages information...'
+echo -n 'Updating packages information...'
timeout 60 wget -T 60 'https://packages.gentoo.org/packages/added.atom' -O _data/packages.xml.tmp 2>/dev/null
[ $? -eq 0 ] && mv _data/packages.xml.tmp _data/packages.xml
echo 'done.'
diff --git a/bin/update-wiki.sh b/bin/update-wiki.sh
index 76196df..1d13235 100755
--- a/bin/update-wiki.sh
+++ b/bin/update-wiki.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-echo -n 'Updating Wiki information...'
+echo -n 'Updating wiki information...'
wget -T 60 'https://wiki.gentoo.org/index.php?title=Special:NewPages&feed=rss&hidebots=1&hideredirs=1&limit=50&offset=&namespace=0&username=&tagfilter=' -O _data/wiki.xml.tmp 2>/dev/null
[ $? -eq 0 ] && mv _data/wiki.xml.tmp _data/wiki.xml
echo 'done.'