Compare commits

..

No commits in common. "aa167f5e2933b984543351b6db4f4b0c8602156e" and "30b0ac1fc3106d96c85139a0f7d6b95910b98fbe" have entirely different histories.

2 changed files with 2 additions and 7 deletions

View File

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

View File

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