the-linux-schools-project / karoshi-client

Central repository for Karoshi Client development
http://linuxschools.org.uk
5 stars 6 forks source link

install.sh hook breakpoints #81

Closed RobinMcCorkell closed 9 years ago

RobinMcCorkell commented 9 years ago

Adds the ability to break at hooks, with the parameter --break=<hook>,<hook>.... The script will drop into a Bash shell and if exited successfully will continue the script, otherwise the installation is aborted.

In addition, all while read loops are now using a non-stdin FD to prevent breakage with commands that try to read from stdin, like Bash in interactive mode.