upd: now automatically includes bin and docs repos

This commit is contained in:
PowerUser64 2022-05-15 01:49:44 -07:00
parent 57a85f47da
commit dd8865daa4

View file

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
# Check for updates for thing in the REPOS_TO_UPDATE variable # Check for updates for thing in the REPOS_TO_UPDATE variable
IFS=: read -ra REPOS_TO_UPDATE_ARR <<< "$REPOS_TO_UPDATE" IFS=: read -ra REPOS_TO_UPDATE_ARR <<< "$REPOS_TO_UPDATE:$DOCS_DIR:$HOME/bin"
for REPO in "${REPOS_TO_UPDATE_ARR[@]}"; do for REPO in "${REPOS_TO_UPDATE_ARR[@]}"; do
tput setaf 2 tput setaf 2
echo " Pulling ${REPO/$HOME/"~"}‥" echo " Pulling ${REPO/$HOME/"~"}‥"