Trying out Sailfish OS today. My first interaction was debugging the flashing script and then giving up and writing my own.
Way too complex, variables are things like $1 and $2 and $3 for functions, it is very hard to completely understand.
My own script is much simpler.