rjsears / chia_plot_manager

Python scripts to manage Chia plots and drive space, providing full reports. Also monitors the number of chia coins you have. Auto Drive helps to automate the addition of new hard drives to your system and to the chia config.
MIT License
334 stars 52 forks source link

install.sh fails using zsh on 0.94 #60

Open rglastra opened 3 years ago

rglastra commented 3 years ago

Using zsh as my default shell, on 0.9.4 the install.sh fails with a:

-e -n Should we CONTINUE?
install.sh: 44: read: Illegal option -n
install.sh: 45: install.sh: [[: not found
install.sh: 247: install.sh: Bad substitution
root@harv1:~/plot_manager# bash install.sh nas

Simply re-running it using bash install.sh nas fixes it.

rjsears commented 3 years ago

Robert -

Thank you for pointing this out, I didn’t test with zsh but will update the install instructions to include this information! I will have to see if I can somehow auto detect which shell is in use.