gunqqer

Untitled

May 3rd, 2019
411
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. #!/bin/bash
  2. cd "$HOME/Documents/Endless-Sky/Endless-Sky/"
  3. printf '%*s\n' "${COLUMNS:-$(tput cols)}" '' | tr ' ' -
  4. echo "Endless-Sky/"
  5. GITOUT=$(git pull)
  6. test "$GITOUT" != "Already up to date." && scons; echo $GITOUT || echo $GITOUT
  7. cd "$HOME/.local/share/endless-sky/plugins/"
  8. for d in */ ; do
  9. printf '%*s\n' "${COLUMNS:-$(tput cols)}" '' | tr ' ' -
  10. echo $d
  11. cd ./$d
  12. git pull
  13. cd ../
  14. done
  15. printf '%*s\n' "${COLUMNS:-$(tput cols)}" '' | tr ' ' -
Advertisement
Add Comment
Please, Sign In to add comment