The script paticipates in Ubuntu ubiquity installer which would need to be changed to work with Linux Mint.
The script uses the Ubuntu ubiquity installer which would need to be changed to work with Linux Mint.