Compare commits
2 Commits
30b0ac1fc3
...
aa167f5e29
| Author | SHA1 | Date | |
|---|---|---|---|
| aa167f5e29 | |||
| c1f280a41e |
|
|
@ -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 metrics versions"
|
BUNDLED_APPS="clock code cron env git 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..."
|
||||||
|
|
|
||||||
|
|
@ -12,5 +12,10 @@ 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}"
|
||||||
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
|
SCRIPT
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user