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

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 +6 -0
  2. package/package.json +1 -1
package/manager.js CHANGED
@@ -239,6 +239,12 @@ function initialSetup() {
239
239
  }
240
240
 
241
241
  function installDocker() {
242
+
243
+ if (execSync('docker --version', { stdio: 'ignore' }).toString().trim() !== '') {
244
+ console.log('Docker already installed')
245
+ return
246
+ }
247
+
242
248
  console.log('Installing Docker...')
243
249
  execSync('curl -fsSL https://get.docker.com -o get-docker.sh && sudo sh get-docker.sh', { stdio: 'inherit' })
244
250
  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.8",
4
4
  "description": "Dynamic PostgreSQL service instance manager",
5
5
  "type": "module",
6
6
  "bin": {