From: "Matthew Marchese" <maffblaster@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] sites/www:master commit in: bin/
Date: Fri, 28 Jul 2017 04:15:07 +0000 (UTC) [thread overview]
Message-ID: <1501214045.7eff9a24227f6375b55d387771a563a7f4e17dec.maffblaster@gentoo> (raw)
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.'
next reply other threads:[~2017-07-28 4:15 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-28 4:15 Matthew Marchese [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-07-28 4:15 [gentoo-commits] sites/www:master commit in: bin/ Matthew Marchese
2017-02-19 0:46 Robin H. Johnson
2016-07-18 6:22 Robin H. Johnson
2016-05-27 12:07 Alex Legler
2016-05-27 12:07 Alex Legler
2016-03-23 17:40 Robin H. Johnson
2015-10-04 21:12 Alex Legler
2015-08-10 9:20 Alex Legler
2015-05-19 12:55 Alex Legler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1501214045.7eff9a24227f6375b55d387771a563a7f4e17dec.maffblaster@gentoo \
--to=maffblaster@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox