diff --git a/ArchUpdater.sh b/ArchUpdater.sh index fdd0e2e..c9f982d 100755 --- a/ArchUpdater.sh +++ b/ArchUpdater.sh @@ -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