Don't download the Linked script itself, but use git clone to get the full repo. Otherwise the patches will be missing, resulting in this error.
This post first appeared on Uwe Hermann | A Slightly Paranoid Debian Developer, please read the originial post: here