update repo if already cloned:
This commit is contained in:
@@ -18,6 +18,7 @@ main(){
|
|||||||
printm "Cloning rpi-mqtt-monitor git repository"
|
printm "Cloning rpi-mqtt-monitor git repository"
|
||||||
git clone https://github.com/hjelev/rpi-mqtt-monitor.git
|
git clone https://github.com/hjelev/rpi-mqtt-monitor.git
|
||||||
cd rpi-mqtt-monitor
|
cd rpi-mqtt-monitor
|
||||||
|
git pull
|
||||||
bash install.sh
|
bash install.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user