xdg-generate-desktop: fix small issues in generated install script