Compare commits

...

2 Commits

Author SHA1 Message Date
aa167f5e29 Make remote:install idempotent 2026-03-01 21:50:13 -08:00
c1f280a41e you too 2026-03-01 21:48:45 -08:00
2 changed files with 7 additions and 2 deletions

View File

@ -58,7 +58,7 @@ mkdir -p ~/data
mkdir -p ~/apps
echo ">> Installing bundled apps"
BUNDLED_APPS="clock code cron env metrics versions"
BUNDLED_APPS="clock code cron env git metrics versions"
for app in $BUNDLED_APPS; do
if [ -d "apps/$app" ]; then
echo " Installing $app..."

View File

@ -12,5 +12,10 @@ source "$ROOT_DIR/scripts/config.sh"
ssh "$SSH_HOST" bash <<'SCRIPT'
set -e
DEST="${DEST:-$HOME/toes}"
git clone https://git.nose.space/defunkt/toes "$DEST" && cd "$DEST" && ./scripts/install.sh
if [ -d "$DEST/.git" ]; then
cd "$DEST" && git pull
else
git clone https://git.nose.space/defunkt/toes "$DEST" && cd "$DEST"
fi
./scripts/install.sh
SCRIPT