Merge branch 'install-desktop-file' into 'master'

Install the .desktop file, if necessary

See merge request !5
This commit is contained in:
Marcel Kapfer 2017-01-19 17:30:39 +00:00
commit f4977f6bbf

View file

@ -12,3 +12,8 @@ sudo rm /opt/ideaIC-*
## Make /usr/bin usable
sudo mv /usr/bin/intellij-idea-community.sh /usr/bin/intellij-idea-community
## Install the .desktop file, if necessary
if [ -x "/usr/bin/desktop-file-install" ]; then
sudo /usr/bin/desktop-file-install /usr/share/applications/intellij-idea-community.desktop
fi