add faust-ideas to upd

This commit is contained in:
PowerUser64 2024-01-17 03:42:55 -08:00
parent 0370aa726d
commit e9161d6a4e

View file

@ -1,4 +1,5 @@
#!/bin/bash
# updates some important repositories in my home folder (and elsewhere) that exist on multiple devices
set -eu
@ -26,7 +27,7 @@ g() { git -C "$REPO" "$@"; }
REPO_ABBR='echo ${REPO/"$HOME"/"~"}'
# `git pull` everything mentioned in the REPOS_TO_UPDATE variable
IFS=: read -ra REPOS_TO_UPDATE_ARR <<< "${REPOS_TO_UPDATE:-}:${DOCS_DIR:-}:$HOME/bin:${NIXOS_DIR:-}"
IFS=: read -ra REPOS_TO_UPDATE_ARR <<< "${REPOS_TO_UPDATE:-}:${DOCS_DIR:-}:$HOME/bin:${NIXOS_DIR:-}:$HOME/code/faust-ideas"
for REPO in "${REPOS_TO_UPDATE_ARR[@]}"; do
if [ -n "$REPO" ]; then
if g rev-parse > /dev/null 2>&1; then