add faust-ideas to upd
This commit is contained in:
parent
0370aa726d
commit
e9161d6a4e
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue