Fix the datestamp output line in initial run

This commit is contained in:
2024-03-14 20:20:14 -05:00
parent d720665ffa
commit 08eb95f63d

View File

@@ -36,7 +36,7 @@ if [ ! -f ./last-git.txt ]; then
while true; do
read -p "Would you like to update your -git aur packages? (y/n) " yn
case $yn in
[Yy]* ) yay -S $gitlist; echo date +%s > ./last-git.txt; break;;
[Yy]* ) yay -S $gitlist; echo $(date +%s) > ./last-git.txt; break;;
[Nn]* ) exit;;
* ) echo "Please answer yes or no.";;
esac