Nomachine reports “ERROR: Unsupported operating system ‘linux'”

I’m trying to install Nomachine NX Enterprise Server on Ubuntu, and the installation of the .deb package fails with:

NX> 704 ERROR: Unsupported operating system 'linux'

After looking at the install script, I found a simple solution:

sudo touch /etc/debian_version