From fbb268edc8fde2918f7fbf3801d68f2cf6298a87 Mon Sep 17 00:00:00 2001 From: Muhammad Herdiansyah Date: Sun, 1 Jan 2017 19:54:24 +0700 Subject: [PATCH] Install Date: Added ls command for Toybox --- neofetch | 1 + 1 file changed, 1 insertion(+) diff --git a/neofetch b/neofetch index 968c44d0..232007e1 100755 --- a/neofetch +++ b/neofetch @@ -1765,6 +1765,7 @@ get_install_date() { case "$ls_prog" in *"BusyBox"*) install_date="$(ls -tdce "$install_file" | awk '{printf $10 " " $7 " " $8 " " $9}')" ;; *"crtime"*) install_date="$(ls -tdcE "$install_file" | awk '{printf $6 " " $7}')" ;; + *"ACFHLRSZ"*) install_date="$(ls -dl "$install_file" | awk '{printf $6 " " $7}')" ;; *"GNU coreutils"*) install_date="$(ls -tcd --full-time "$install_file" | awk '{printf $6 " " $7}')" ;; *) install_date="$(ls -dlctT "$install_file" | awk '{printf $9 " " $6 " "$7 " " $8}')" ;; esac