Change -u to -U in macOS install date

This commit is contained in:
Andrew Titmuss 2017-10-13 14:32:58 +11:00
parent 952f2e5b22
commit 3cac29c804
No known key found for this signature in database
GPG key ID: 8AF42975C787E0B2

View file

@ -2256,7 +2256,7 @@ get_install_date() {
*) *)
if [[ "$os" == "Mac OS X" ]]; then if [[ "$os" == "Mac OS X" ]]; then
install_date="$(ls -dlctuT "$install_file" | awk '{printf $9 " " $6 " " $7 " " $8}')" install_date="$(ls -dlctUT "$install_file" | awk '{printf $9 " " $6 " " $7 " " $8}')"
else else
install_date="$(ls -dlctT "$install_file" | awk '{printf $9 " " $6 " " $7 " " $8}')" install_date="$(ls -dlctT "$install_file" | awk '{printf $9 " " $6 " " $7 " " $8}')"
fi fi