forked from freeleaps/freeleaps-pub
Update for asking product id when ./devbox
This commit is contained in:
parent
4b783135e0
commit
15c4dbd737
@ -94,11 +94,14 @@ devbox_init_guidance() {
|
|||||||
add_arg "--use-custom-repository" "$use_custom_repository"
|
add_arg "--use-custom-repository" "$use_custom_repository"
|
||||||
;;
|
;;
|
||||||
2)
|
2)
|
||||||
# Ask user for product_id
|
# Check if product_id is empty
|
||||||
read -p "Enter your product_id: " product_id
|
|
||||||
if [[ -z $product_id ]]; then
|
if [[ -z $product_id ]]; then
|
||||||
printf "Product ID is required.\n"
|
# Ask user for product_id
|
||||||
exit 1
|
read -p "Enter your product_id: " product_id
|
||||||
|
if [[ -z $product_id ]]; then
|
||||||
|
printf "Product ID is required.\n"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Ask user for Freeleaps.com username and password
|
# Ask user for Freeleaps.com username and password
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user