Isn't that line of code enough to not install npm on Ubuntu ? Why all the extra code to do the same ?