Browse Source

Merge pull request #4328 from srirams/srirams-patch-1

Add addon domains to cpanel_uapi
pull/4331/head
neil 2 years ago
committed by GitHub
parent
commit
287a8c76b5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      deploy/cpanel_uapi.sh

2
deploy/cpanel_uapi.sh

@ -194,7 +194,7 @@ __cpanel_parse_response() {
printf("%s%s=%s\n", prefix, $2, $3); printf("%s%s=%s\n", prefix, $2, $3);
} }
}' | }' |
sed -En -e 's/^result\/data\/(main_domain|sub_domains\/-)=(.*)$/\2/p'
sed -En -e 's/^result\/data\/(main_domain|sub_domains\/-|addon_domains\/-)=(.*)$/\2/p'
} }
# Load parameter by prefix+name - fallback to default if not set, and save to config # Load parameter by prefix+name - fallback to default if not set, and save to config

Loading…
Cancel
Save