Skip to content

Commit

Permalink
Workaround for Install - Change Command
Browse files Browse the repository at this point in the history
Changing the install command to work around an issue where stdin cannot handle the interactive shell. 

New command as follows: 
bash <(wget -O - https://raw.githubusercontent.com/nebhead/spkr-select-v3/master/auto-install/install.sh)
  • Loading branch information
nebhead committed Apr 22, 2022
1 parent df8206c commit eaf93bf
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions auto-install/install.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/usr/bin/env bash

# Speaker-Select Installation Script
# Speaker-Select-V3 Installation Script
# Many thanks to the PiVPN project (pivpn.io) for much of the inspiration for this script
# Run from https://raw.githubusercontent.com/nebhead/spkr-select-v3/master/auto-install/install.sh
#
# Install with this command (from your Pi):
#
# curl https://raw.githubusercontent.com/nebhead/spkr-select-v3/master/auto-install/install.sh | bash
# bash <(wget -O - https://raw.githubusercontent.com/nebhead/spkr-select-v3/master/auto-install/install.sh)
#
# WARNING: Do NOT run with SUDO or the cd commands will not work properly (i.e. they will use root
# instead of the pi user). This command will automatically get SUDO and use in the proper places.
Expand Down Expand Up @@ -104,21 +104,6 @@ whiptail --msgbox --backtitle "SSL Certs" --title "Speaker-Select Automated Inst

cd /usr/local/bin/spkr-select-v3/certs

# Modify the localhost configuration file. NOTE: Commented out since this appears to cause issues with the install from the web
#echo " - Editing localhost.conf with nano"
#$SUDO nano localhost.conf

# Create public and private key pairs based on localhost.conf information
#echo " - Running OpenSSL to generate key pairs"
#$SUDO openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout localhost.key -out localhost.crt -config localhost.conf
#$SUDO openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout localhost.key -out localhost.crt

#echo " - Move certs to /etc/ssl"
# Move the public key to the /etc/ssl/certs directory
#$SUDO mv localhost.crt /etc/ssl/certs/localhost.crt
# Move the private key to the /etc/ssl/private directory
#$SUDO mv localhost.key /etc/ssl/private/localhost.key

# Generate certs
$SUDO bash -i generate.sh

Expand Down

0 comments on commit eaf93bf

Please sign in to comment.