Advertisement
Guest User

Untitled

a guest
May 28th, 2018
310
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.67 KB | None | 0 0
  1. echo "+--------------------------------+"
  2. echo "|                                |"
  3. echo "| Backing Up Current Cheevo List |"
  4. echo "|                                |"
  5. echo "+--------------------------------+"
  6. mv /opt/retropie/configs/all/emulationstation/collections/custom-achievements.cfg /opt/retropie/configs/all/emulationstation/collections/custom-achievements-$(date +%F-%H:%M).old
  7. echo "Done!"
  8. echo "+--------------------------------+"
  9. echo "|                                |"
  10. echo "|  Updating hascheevos Program   |"
  11. echo "|                                |"
  12. echo "+--------------------------------+"
  13. cd /home/pi/hascheevos/bin
  14. ./hascheevos.sh --update
  15. echo "Done!"
  16. echo "+--------------------------------+"
  17. echo "|                                |"
  18. echo "| Beginning hascheevos Hash Scan |"
  19. echo "|                                |"
  20. echo "+--------------------------------+"
  21. ./hascheevos.sh --single-collection  --system all
  22. mv /opt/retropie/configs/all/emulationstation/collections/custom-achievements.cfg /opt/retropie/configs/all/emulationstation/collections/work.cfg
  23. ./hascheevos.sh --arcade --system fba --collection
  24. cd /opt/retropie/configs/all/emulationstation/collections
  25. cat work.cfg "custom-achievements fba.cfg" | sort > custom-achievements.cfg
  26. rm work.cfg
  27. rm "custom-achievements fba.cfg"
  28. echo "+--------------------------------+"
  29. echo "|                                |"
  30. echo "| Completed Scanning for Games!  |"
  31. echo "|                                |"
  32. echo "+--------------------------------|"
  33. echo "Do you wish to reboot now?"
  34. select yn in "Yes" "No"; do
  35.     case $yn in
  36.         Yes ) sudo reboot; break;;
  37.         No ) exit;;
  38.     esac
  39. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement