post-install-script-00-get_scripts_https.sh 544 B

12345678910111213141516171819
  1. #!/bin/bash
  2. # fail if any commands fails
  3. set -e
  4. # debug log
  5. #set -x
  6. ############ Script
  7. echo "Getting scripts from github..."
  8. mkdir -p /tmp/repos && cd /tmp/repos || return
  9. git clone https://notabug.org/lea2501/scripts.git
  10. cd || return
  11. echo ""
  12. echo -e "\033[33;5m These scripts install and configure all the needed applications and settings. \033[0m"
  13. echo -e "\033[33;5m But you have to pay attention to the prompts and, preferably, read them before launching to know what they do \033[0m"
  14. echo ""
  15. echo "Getting scripts from github... DONE"