intval3/scripts/update.sh

5 lines
84 B
Bash

#!/bin/bash
sudo -u pi -i<< EOF
cd /home/pi/intval3 && git pull && npm install
EOF