Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-02-04 13:49:28 +0100
committerErich Eckner <git@eckner.net>2018-02-04 13:49:28 +0100
commit95f58cb2eb6bbb7143fc292458dde313c12a54be (patch)
treeda60b31243609f5f225d95de9d50e2d1734538ea
parent9ef68dd176d10bebf92cd937f8b6115a9d40b0bf (diff)
bin/modify-package-state: report, what has been done (so bin/interpret-mail reports correctly, too)
-rwxr-xr-xbin/interpret-mail2
-rwxr-xr-xbin/modify-package-state1
2 files changed, 1 insertions, 2 deletions
diff --git a/bin/interpret-mail b/bin/interpret-mail
index b4a39d7..1cc466e 100755
--- a/bin/interpret-mail
+++ b/bin/interpret-mail
@@ -7,8 +7,6 @@
# TODO: read information from database (?)
-# TODO: did/does not correctly report about the number of blocked packages
-
if [ $# -ne 0 ]; then
>&2 echo ''
>&2 echo 'usage: interpret-mail'
diff --git a/bin/modify-package-state b/bin/modify-package-state
index 79525cf..0703238 100755
--- a/bin/modify-package-state
+++ b/bin/modify-package-state
@@ -261,6 +261,7 @@ while read -r package reason; do
exit 42
;;
esac
+ printf '%s %s\n' "${action}" "${package}"
fi
done \
< "${input_file}" \