add check during initialization and information to create a consumer key later
parent
c3c5130f5d
commit
1eb3c11c18
|
@ -39,10 +39,12 @@ createApp()
|
||||||
echo
|
echo
|
||||||
echo "Do you also need to create a consumer key? (y/n)"
|
echo "Do you also need to create a consumer key? (y/n)"
|
||||||
read NEXT
|
read NEXT
|
||||||
if [ $( echo $NEXT | tr [:upper:] [:lower:] ) = y ]
|
if [ -n "$NEXT" ] && [ $( echo $NEXT | tr [:upper:] [:lower:] ) = y ]
|
||||||
then
|
then
|
||||||
initApplication
|
initApplication
|
||||||
createConsumerKey
|
createConsumerKey
|
||||||
|
else
|
||||||
|
echo -e "OK, no consumer key created for now.\nYou will be able to initiaze the consumer key later calling :\n$0 --init"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue