Fix the datestamp output line in initial run
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user