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