summaryrefslogtreecommitdiff
path: root/source/ap/neofetch/fetch-neofetch.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/neofetch/fetch-neofetch.sh')
-rwxr-xr-xsource/ap/neofetch/fetch-neofetch.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/ap/neofetch/fetch-neofetch.sh b/source/ap/neofetch/fetch-neofetch.sh
index eed1d590..9f49347c 100755
--- a/source/ap/neofetch/fetch-neofetch.sh
+++ b/source/ap/neofetch/fetch-neofetch.sh
@@ -38,8 +38,8 @@ git clone https://github.com/dylanaraps/${PKGNAM}
)
HEADISAT="$( cd ${PKGNAM} && git log -1 --format=%h )"
-DATE="$( cd ${PKGNAM} && git log -1 --format=%ad --date=format:%Y%m%d )"
-LONGDATE="$( cd ${PKGNAM} && git log -1 --format=%ad --date=format:%c )"
+DATE="$( cd ${PKGNAM} && git log -1 --format=%cd --date=format:%Y%m%d )"
+LONGDATE="$( cd ${PKGNAM} && git log -1 --format=%cd --date=format:%c )"
# Cleanup. We're not packing up the whole git repo.
( cd ${PKGNAM} && find . -type d -name ".git*" -exec rm -rf {} \; 2> /dev/null )
mv ${PKGNAM} ${PKGNAM}-${DATE}_${HEADISAT}