commit:     7eff9a24227f6375b55d387771a563a7f4e17dec
Author:     Matthew Marchese <maffblaster <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 27 20:48:53 2017 +0000
Commit:     Matthew Marchese <maffblaster <AT> gentoo <DOT> org>
CommitDate: Fri Jul 28 03:54:05 2017 +0000
URL:        https://gitweb.gentoo.org/sites/www.git/commit/?id=7eff9a24

Make scripts have consistent output.

Signed-off-by: Matthew Marchese <maffblaster <AT> gentoo.org>

 bin/update-downloads.sh | 6 +++---
 bin/update-packages.sh  | 2 +-
 bin/update-wiki.sh      | 2 +-
 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.'

Reply via email to