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
|
while true; do
|
||||||
read -p "Would you like to update your -git aur packages? (y/n) " yn
|
read -p "Would you like to update your -git aur packages? (y/n) " yn
|
||||||
case $yn in
|
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;;
|
[Nn]* ) exit;;
|
||||||
* ) echo "Please answer yes or no.";;
|
* ) echo "Please answer yes or no.";;
|
||||||
esac
|
esac
|
||||||
|
|||||||
Reference in New Issue
Block a user