We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c8e417 commit 091862eCopy full SHA for 091862e
app/templates/install.sh.j2
@@ -19,9 +19,9 @@ echo ""
19
echo "Total files: {{ files|length }}"
20
echo ""
21
if [ -t 0 ]; then
22
- read -p "Do you want to proceed? (Y/n): " -n 1 -r
23
- echo ""
24
- if [[ ! $REPLY =~ ^[Yy]$ ]] && [[ ! -z $REPLY ]]; then
+ printf "Do you want to proceed? (Y/n): "
+ read REPLY
+ if [ "$REPLY" != "Y" ] && [ "$REPLY" != "y" ] && [ -n "$REPLY" ]; then
25
echo "Installation cancelled."
26
exit 1
27
fi
0 commit comments