1 |
commit: 7eff9a24227f6375b55d387771a563a7f4e17dec |
2 |
Author: Matthew Marchese <maffblaster <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 27 20:48:53 2017 +0000 |
4 |
Commit: Matthew Marchese <maffblaster <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 28 03:54:05 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/sites/www.git/commit/?id=7eff9a24 |
7 |
|
8 |
Make scripts have consistent output. |
9 |
|
10 |
Signed-off-by: Matthew Marchese <maffblaster <AT> gentoo.org> |
11 |
|
12 |
bin/update-downloads.sh | 6 +++--- |
13 |
bin/update-packages.sh | 2 +- |
14 |
bin/update-wiki.sh | 2 +- |
15 |
3 files changed, 5 insertions(+), 5 deletions(-) |
16 |
|
17 |
diff --git a/bin/update-downloads.sh b/bin/update-downloads.sh |
18 |
index b113fdb..6d618e4 100755 |
19 |
--- a/bin/update-downloads.sh |
20 |
+++ b/bin/update-downloads.sh |
21 |
@@ -70,12 +70,12 @@ main() { |
22 |
cd "$(dirname "$0")"/.. |
23 |
|
24 |
local arch |
25 |
- printf 'Updating downloads... ' |
26 |
+ printf 'Updating downloads' |
27 |
for arch in "${ARCHES[@]}"; do |
28 |
- printf '%s ' "${arch}" |
29 |
+ printf ' %s' "${arch}" |
30 |
update_arch "${arch}" |
31 |
done |
32 |
- echo 'done.' |
33 |
+ echo '...done.' |
34 |
} |
35 |
|
36 |
main "$@" |
37 |
|
38 |
diff --git a/bin/update-packages.sh b/bin/update-packages.sh |
39 |
index 8a267a2..13b89c5 100755 |
40 |
--- a/bin/update-packages.sh |
41 |
+++ b/bin/update-packages.sh |
42 |
@@ -1,6 +1,6 @@ |
43 |
#!/bin/bash |
44 |
|
45 |
-echo -n 'Updating Packages information...' |
46 |
+echo -n 'Updating packages information...' |
47 |
timeout 60 wget -T 60 'https://packages.gentoo.org/packages/added.atom' -O _data/packages.xml.tmp 2>/dev/null |
48 |
[ $? -eq 0 ] && mv _data/packages.xml.tmp _data/packages.xml |
49 |
echo 'done.' |
50 |
|
51 |
diff --git a/bin/update-wiki.sh b/bin/update-wiki.sh |
52 |
index 76196df..1d13235 100755 |
53 |
--- a/bin/update-wiki.sh |
54 |
+++ b/bin/update-wiki.sh |
55 |
@@ -1,6 +1,6 @@ |
56 |
#!/bin/bash |
57 |
|
58 |
-echo -n 'Updating Wiki information...' |
59 |
+echo -n 'Updating wiki information...' |
60 |
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 |
61 |
[ $? -eq 0 ] && mv _data/wiki.xml.tmp _data/wiki.xml |
62 |
echo 'done.' |