Merge branch 'master' of https://github.com/dylanaraps/neofetch
This commit is contained in:
commit
03d07f2c62
|
@ -1,9 +1,13 @@
|
||||||
## Contributors
|
## Contributors
|
||||||
|
|
||||||
[**@yslgirl**](https://github.com/yslgirl)
|
- [**@yslgirl**](https://github.com/yslgirl)
|
||||||
|
- [**@iandrewt**](https://github.com/iandrewt)
|
||||||
|
- [**@chrisweeksnz**](https://github.com/chrisweeksnz)
|
||||||
|
|
||||||
|
|
||||||
## OS
|
## OS
|
||||||
|
|
||||||
- Fixed detection bug with Gentoo.
|
- Fixed detection bug with Gentoo.
|
||||||
- Added support for macOS High Sierra. [**@yslgirl**](https://github.com/yslgirl)
|
- Added support for macOS High Sierra. [**@yslgirl**](https://github.com/yslgirl)
|
||||||
|
- Fixed Install Date bug with macOS. [**@iandrewt**](https://github.com/iandrewt)
|
||||||
|
- Added support for Container Linux by CoreOS. [**@chrisweeksnz**](https://github.com/chrisweeksnz)
|
||||||
|
|
8
neofetch
8
neofetch
|
@ -2254,7 +2254,13 @@ get_install_date() {
|
||||||
return
|
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
|
esac
|
||||||
|
|
||||||
install_date="${install_date//-/ }"
|
install_date="${install_date//-/ }"
|
||||||
|
|
Reference in New Issue