u
This commit is contained in:
@@ -21,7 +21,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
|
||||||
@@ -57,8 +57,8 @@ then
|
|||||||
|
|
||||||
cp config /etc/postgrest/
|
cp config /etc/postgrest/
|
||||||
|
|
||||||
echo "*********************************************************************"
|
echo "***********************************************************************"
|
||||||
echo "* please, populate '/etc/postgrest/config' with proper login data ! *"
|
echo "* ! please, populate '/etc/postgrest/config' with proper login data ! *"
|
||||||
echo "*********************************************************************"
|
echo "***********************************************************************"
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user