unoverse 0.1.64 → 0.1.66
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.
- package/operator/lib/deploy.sh +2 -4
- package/package.json +1 -1
package/operator/lib/deploy.sh
CHANGED
|
@@ -164,11 +164,9 @@ cmd_deploy() {
|
|
|
164
164
|
found=$(grep '^#[[:space:]]*existing_pg_cluster_name' "$tfv" | sed -E 's/.*"([^"]+)".*/\1/')
|
|
165
165
|
if [ -n "$found" ]; then
|
|
166
166
|
echo ""
|
|
167
|
-
echo -e " ${CYAN}${BOLD}
|
|
168
|
-
echo -e " ${DIM}$found${NC}"
|
|
167
|
+
echo -e " ${CYAN}${BOLD}You already have a database.${NC} ${DIM}$found${NC}"
|
|
169
168
|
echo ""
|
|
170
|
-
pick_option "
|
|
171
|
-
"Create a new one (~\$15/month, fully separate)"
|
|
169
|
+
pick_option "Use it" "Create a new one ~\$15/month"
|
|
172
170
|
if [ "$PICKED" = "0" ]; then
|
|
173
171
|
node -e 'const fs=require("fs");const[f,c]=process.argv.slice(1);let s=fs.readFileSync(f,"utf8");s=s.replace(/^#\s*(existing_pg_cluster_name\s*=.*)$/m,"$1");fs.writeFileSync(f,s)' "$tfv" "$found"
|
|
174
172
|
ok "Reusing $found"
|
package/package.json
CHANGED