u
This commit is contained in:
@@ -19,7 +19,7 @@ cd /tmp
|
|||||||
latest_version=$(curl -s https://api.github.com/repos/PostgREST/postgrest/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")')
|
latest_version=$(curl -s https://api.github.com/repos/PostgREST/postgrest/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")')
|
||||||
|
|
||||||
# ask for user input
|
# ask for user input
|
||||||
echo 'install postgrest ${latest_version}? [y/n]'
|
echo "install postgrest ${latest_version}? [y/n]"
|
||||||
read -n1 user_input
|
read -n1 user_input
|
||||||
|
|
||||||
if [[ ${user_input} == "y" ]]; then
|
if [[ ${user_input} == "y" ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user