Files
homebridge/script/upgrade
2015-09-14 22:53:49 -04:00

9 lines
135 B
Bash
Executable File

#!/bin/sh
echo "Updating from GitHub..."
BRANCH=$(git rev-parse --abbrev-ref HEAD)
git pull origin $BRANCH
npm update
script/restart