mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-26 02:25:01 +00:00
Merge branch 'master' of https://github.com/dylanaraps/neofetch
This commit is contained in:
8
neofetch
8
neofetch
@@ -2254,7 +2254,13 @@ get_install_date() {
|
||||
return
|
||||
;;
|
||||
|
||||
*) install_date="$(ls -dlctT "$install_file" | awk '{printf $9 " " $6 " "$7 " " $8}')" ;;
|
||||
*"HLOPRSTUWabc"*) # macOS ls
|
||||
install_date="$(ls -dlctUT "$install_file" | awk '{printf $9 " " $6 " "$7 " " $8}')"
|
||||
;;
|
||||
|
||||
*)
|
||||
install_date="$(ls -dlctT "$install_file" | awk '{printf $9 " " $6 " " $7 " " $8}')"
|
||||
;;
|
||||
esac
|
||||
|
||||
install_date="${install_date//-/ }"
|
||||
|
||||
Reference in New Issue
Block a user