[Git-commits] [grml/grml-autoconfig] f49399: Improve easter egg for 20 years of grml.org

Michael Prokop noreply at github.com
Sat Sep 16 12:19:56 CEST 2023


  Branch: refs/heads/mika/easteregg
  Home:   https://github.com/grml/grml-autoconfig
  Commit: f49399d53473f758c060e6872b670c384e4b0155
      https://github.com/grml/grml-autoconfig/commit/f49399d53473f758c060e6872b670c384e4b0155
  Author: Michael Prokop <mika at grml.org>
  Date:   2023-09-16 (Sat, 16 Sep 2023)

  Changed paths:
    M autoconfig.functions

  Log Message:
  -----------
  Improve easter egg for 20 years of grml.org

Relevant changes:

1) Don't convert dates via date(1), but provide epoch seconds right away
2) Also use zsh's ${EPOCHSECONDS} instead of forking to date(1)
3) Display easter egg message with einfo iff we are within the birthday range
4) Don't display easter egg only on 2023-09-16 and one month later,
   but also in all the days in between (sigh :))
5) Don't display anything at all when booting with noeasteregg boot option
6) Have the easter egg appear randomly, with diminishing probability as
   you get farther from the actual birthday

Thanks: Christopher Bock and AndrĂ¡s Korn




More information about the Git-commits mailing list