Docker images for postgres extended with management bash scripts.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 16 lines 293 B view raw
1#!/usr/bin/env bash 2 3 4yes_no() { 5 declare desc="Prompt for confirmation. \$\"\{1\}\": confirmation message." 6 local arg1="${1}" 7 8 local response= 9 read -r -p "${arg1} (y/[n])? " response 10 if [[ "${response}" =~ ^[Yy]$ ]] 11 then 12 exit 0 13 else 14 exit 1 15 fi 16}