#!/usr/bin/env bash

# wget -qO- https://builds.3dprinteros.com/plugins/esocket/client_plugin/install_esocket_plugin.sh | sh

cd /opt/3dprinteros-client/
mkdir -p plugins/esocket_printrun
cd plugins/esocket_printrun
wget https://builds.3dprinteros.com/plugins/esocket/client_plugin/esocket_printrun.zip
unzip -o esocket_printrun.zip
rm esocket_printrun.zip
python2 updates/config_update.py
