From f094056590576e7a38351e90b482fd2f78aa9a34 Mon Sep 17 00:00:00 2001 From: make-ing Date: Fri, 11 Sep 2015 12:27:47 +0200 Subject: [PATCH] changed update_script string --- src/octoprint/plugins/softwareupdate/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/octoprint/plugins/softwareupdate/__init__.py b/src/octoprint/plugins/softwareupdate/__init__.py index 8d780270..fe51df6a 100644 --- a/src/octoprint/plugins/softwareupdate/__init__.py +++ b/src/octoprint/plugins/softwareupdate/__init__.py @@ -141,7 +141,7 @@ class SoftwareUpdatePlugin(octoprint.plugin.BlueprintPlugin, "repo": "mrbeam-inkscape-ext", "user": "mrbeam", "branch": "stable-1.2.2", - "update_script": "cd {target}; git pull" + "update_script": "cd {{target}} && git pull" }, "lcd": { "update_folder": "/home/pi/lcd", @@ -149,7 +149,7 @@ class SoftwareUpdatePlugin(octoprint.plugin.BlueprintPlugin, "repo": "lcd", "user": "mrbeam", "branch": "stable-1.2.2", - "update_script": "cd {target}; git pull", + "update_script": "cd {{target}} && git pull", "restart": "environment" }, "netconnectd": { @@ -158,7 +158,7 @@ class SoftwareUpdatePlugin(octoprint.plugin.BlueprintPlugin, "repo": "netconnectd", "user": "mrbeam", "branch": "stable-1.2.2", - "update_script": "cd {target}; git pull", + "update_script": "cd {{target}} && git pull", "restart": "environment" }, },