Compare commits
2 Commits
f7c0db1d00
...
6a3d187a7b
Author | SHA1 | Date | |
---|---|---|---|
6a3d187a7b | |||
b9d8326017 |
@ -11,8 +11,6 @@ show_help() {
|
|||||||
echo
|
echo
|
||||||
echo "Bootstrap a Ubuntu or Linux Mint instance with:"
|
echo "Bootstrap a Ubuntu or Linux Mint instance with:"
|
||||||
echo
|
echo
|
||||||
echo "* update apt cache"
|
|
||||||
echo "* upgrade apt packages"
|
|
||||||
echo "* git - from apt"
|
echo "* git - from apt"
|
||||||
echo "* python - from apt"
|
echo "* python - from apt"
|
||||||
echo "* python-pip - from apt"
|
echo "* python-pip - from apt"
|
||||||
@ -30,7 +28,7 @@ show_help() {
|
|||||||
|
|
||||||
yes=0
|
yes=0
|
||||||
|
|
||||||
while getopts 'hy' opt; do
|
while getopts 'hdy' opt; do
|
||||||
case $opt in
|
case $opt in
|
||||||
h) show_help; exit 0 ;;
|
h) show_help; exit 0 ;;
|
||||||
y) yes=1 ;;
|
y) yes=1 ;;
|
||||||
@ -135,6 +133,7 @@ fi
|
|||||||
|
|
||||||
# TODO: Gogs SSH key
|
# TODO: Gogs SSH key
|
||||||
|
|
||||||
|
# Prompt user to setup other SSH key recipients
|
||||||
if [ -f ~/.ssh/id_rsa.pub ]; then
|
if [ -f ~/.ssh/id_rsa.pub ]; then
|
||||||
echo "----------------------------------------------------------------------"
|
echo "----------------------------------------------------------------------"
|
||||||
cat ~/.ssh/id_rsa.pub
|
cat ~/.ssh/id_rsa.pub
|
||||||
@ -142,6 +141,7 @@ if [ -f ~/.ssh/id_rsa.pub ]; then
|
|||||||
read -rp "Set other SSH key recipients, press ENTER to continue: "
|
read -rp "Set other SSH key recipients, press ENTER to continue: "
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Install conduit
|
||||||
missing conduit && agree "Install conduit" && \
|
missing conduit && agree "Install conduit" && \
|
||||||
pip_install git+ssh://git@github.com/kbenzie/conduit.git
|
pip_install git+ssh://git@github.com/kbenzie/conduit.git
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user