From 16105b8bc374812d77b0a45afad0efa9713786c4 Mon Sep 17 00:00:00 2001 From: Antoine Date: Wed, 4 Dec 2024 13:50:08 +0100 Subject: [PATCH] fix string comparison --- local/bin/dn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/local/bin/dn b/local/bin/dn index 3220936..ad8b63a 100755 --- a/local/bin/dn +++ b/local/bin/dn @@ -19,7 +19,7 @@ find_unticked_checkboxes() { # Function to add aoc checkbox if it's December before the 24th add_aoc_checkbox() { - if [[ "$month" -eq "12" && "$day" -lt "25" ]]; then + if [[ "$month" == "12" && "$day" -lt "25" ]]; then echo "- [ ] Advent of Code" fi }