in my experience you have to keep a copy if the edited version of the nvidia-installer.sh in case you put an update. So far the update process will always overwrite your version, so before you reboot after an update put your own version of the file back there.