Hello, I tried the script right now and I found that I needed to create the patch directory by hand.
By the way I have deactivated the touchpad on my Lenovo T430u on Debian 8 and I cannot deactivate it on Debian 9. Your script don't worked for me.
Cheers.