Skip to content

Commit

Permalink
fix installaiton
Browse files Browse the repository at this point in the history
  • Loading branch information
slavaGanzin committed Aug 9, 2023
1 parent 9c88246 commit 2ba86bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions client.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ module.exports = queryUrl => {
if (!install.check)
return which(check).catch(() => run(install, x => log(service, install, x)))

const {error} = await run(install.check, () => {}, true)
if (error) return run(install.install, x => log(service, install.install, x))
const {status} = await run(install.check, () => {}, true)
if (status == 'error') return run(install.install, x => log(service, install.install, x))
}, s.install || {})))

if (s.command) {
// run(split(/;|\n/, replace(/\\\n/, ' ', s.command)), x => log(service, s.command, x))
run(s.command), x => log(service, s.command, x))
run(s.command), x => log(service, s.command, x)
}
}, conf)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"description": "Remote configuration syncronization daemon with Web UI",
"name": "rconf",
"version": "0.5.0",
"version": "0.5.1",
"main": "index.js",
"license": "MIT",
"bin": "rconf.js",
Expand Down

0 comments on commit 2ba86bf

Please sign in to comment.