Update run.sh

This commit is contained in:
2023-08-13 16:47:50 -05:00
parent 0a0c4d4080
commit c3ca15f017

1
run.sh
View File

@@ -26,6 +26,7 @@ if [ "${1}" == "update" ]; then
git pull >/dev/null 2>&1
git submodule update --remote >/dev/null 2>&1
fi
cd /opt/idssys/powerwall
if [ "`git log --pretty=%H ...refs/heads/master^ | head -n 1`" != "`git ls-remote origin -h refs/heads/master |cut -f1`" ]; then
if [ "${2}" != "q" ]; then