Add birthday support to iOS

This commit is contained in:
Dylan 2016-05-07 11:29:55 +10:00
parent 4d54c5a8d9
commit 0e0df9d03e

View file

@ -1779,8 +1779,8 @@ getusers () {
getbirthday () {
case "$os" in
"Linux")
birthday="$(ls -alct --full-time / | awk '/lost\+found/ {printf $6 " " $7}')"
"linux" | "iPhone OS")
birthday="$(ls -alct --full-time / | awk '/lost\+found|private/ {printf $6 " " $7}')"
date_cmd="$(date -d"$birthday" "$birthday_format")"
;;