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
1 changed files with 5 additions and 0 deletions

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