summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/reproducible_schedule_on_demand.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/reproducible_schedule_on_demand.sh b/bin/reproducible_schedule_on_demand.sh
index e2b0f7a4..6ae4af19 100755
--- a/bin/reproducible_schedule_on_demand.sh
+++ b/bin/reproducible_schedule_on_demand.sh
@@ -42,6 +42,13 @@ case "$1" in
esac
CANDIDATES="$@"
+if [ ${#} -gt 50 ] && $NOTIFY ; then
+ echo
+ figlet "No."
+ echo "Do not schedule more than 50 packages with notification. If you really really need to spam the IRC channel this much, use a loop to achieve that. Exiting."
+ echo
+ exit 1
+fi
check_candidates
if [ ${#PACKAGE_IDS} -gt 256 ] ; then
BLABLABLA="✂…"