added new update script git-pull.py to update_script setting
This commit is contained in:
parent
65bff81d35
commit
2a2696ff9a
1 changed files with 3 additions and 3 deletions
|
|
@ -141,7 +141,7 @@ class SoftwareUpdatePlugin(octoprint.plugin.BlueprintPlugin,
|
||||||
"repo": "mrbeam-inkscape-ext",
|
"repo": "mrbeam-inkscape-ext",
|
||||||
"user": "mrbeam",
|
"user": "mrbeam",
|
||||||
"branch": "stable-1.2.2",
|
"branch": "stable-1.2.2",
|
||||||
"update_script": "git pull"
|
"update_script": "{{python}} \"{update_script}\" \"{{folder}}\" {{target}}".format(update_script=os.path.join(self._basefolder, "scripts", "git-pull.py"))
|
||||||
},
|
},
|
||||||
"lcd": {
|
"lcd": {
|
||||||
"update_folder": "/home/pi/lcd",
|
"update_folder": "/home/pi/lcd",
|
||||||
|
|
@ -149,7 +149,7 @@ class SoftwareUpdatePlugin(octoprint.plugin.BlueprintPlugin,
|
||||||
"repo": "lcd",
|
"repo": "lcd",
|
||||||
"user": "mrbeam",
|
"user": "mrbeam",
|
||||||
"branch": "stable-1.2.2",
|
"branch": "stable-1.2.2",
|
||||||
"update_script": "git pull",
|
"update_script": "{{python}} \"{update_script}\" \"{{folder}}\" {{target}}".format(update_script=os.path.join(self._basefolder, "scripts", "git-pull.py")),
|
||||||
"restart": "environment"
|
"restart": "environment"
|
||||||
},
|
},
|
||||||
"netconnectd": {
|
"netconnectd": {
|
||||||
|
|
@ -158,7 +158,7 @@ class SoftwareUpdatePlugin(octoprint.plugin.BlueprintPlugin,
|
||||||
"repo": "netconnectd",
|
"repo": "netconnectd",
|
||||||
"user": "mrbeam",
|
"user": "mrbeam",
|
||||||
"branch": "stable-1.2.2",
|
"branch": "stable-1.2.2",
|
||||||
"update_script": "git pull",
|
"update_script": "{{python}} \"{update_script}\" \"{{folder}}\" {{target}}".format(update_script=os.path.join(self._basefolder, "scripts", "git-pull.py")),
|
||||||
"restart": "environment"
|
"restart": "environment"
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue