Commit bfdca24b authored by Dylan Araps's avatar Dylan Araps

Birthday: Fix macOS birthday command

parent 89f7c221
......@@ -1732,12 +1732,12 @@ get_birthday() {
birthday="$(ls -alct --full-time / | awk '/lost\+found|private/ {printf $6 " " $7}')"
;;
"BSD" | "Mac OS X")
case "$kernel_name" in
"Darwin")
birthday_file="/var/log/install.log"
;;
"Mac OS X")
birthday="$(ls -lUT /var/log/install.log | awk '{printf $9 " " $6 " " $7 " " $8}')"
;;
"BSD")
case "$kernel_name" in
"OpenBSD"* | "Bitrig"*)
birthday_file="/"
;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment