@sysnee/pgs 0.1.7-rc.7 → 0.1.7-rc.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/manager.js +7 -0
  2. package/package.json +1 -1
package/manager.js CHANGED
@@ -239,6 +239,13 @@ function initialSetup() {
239
239
  }
240
240
 
241
241
  function installDocker() {
242
+
243
+ try {
244
+ execSync('docker info', { stdio: 'pipe' })
245
+ console.log('Docker already installed')
246
+ return
247
+ } catch (_) {}
248
+
242
249
  console.log('Installing Docker...')
243
250
  execSync('curl -fsSL https://get.docker.com -o get-docker.sh && sudo sh get-docker.sh', { stdio: 'inherit' })
244
251
  execSync('rm get-docker.sh')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sysnee/pgs",
3
- "version": "0.1.7-rc.7",
3
+ "version": "0.1.7-rc.9",
4
4
  "description": "Dynamic PostgreSQL service instance manager",
5
5
  "type": "module",
6
6
  "bin": {