deicidus 1 year ago
parent
commit
ba3c27147d
  1. 2
      spells/install-service-template

2
spells/install-service-template

@ -43,7 +43,7 @@ while IFS= read -r line; do
if echo "$line" | grep -q '\$'; then
var=$(echo "$line" | sed -n -e 's/^.*\$\([A-Z_]*\).*$/\1/p')
if [ -n "$var" ]; then
value="${!var}"
eval value=\$$var
if [ -z "$value" ]; then
echo "Enter a value for $var: "
read -r value

Loading…
Cancel
Save